Skip to main content

Change Email for User

PUT /api/v1/users/{userId}/tenants/{tenantId}/change-email

Description

Change the email address for a user in a specific tenant.

Path Parameters

NameTypeDescription
userIdstringThe user ID (path)
tenantIdstringThe tenant ID (path)

Query Parameters

NameTypeDescription
passwordstringCurrent account password (query)
phonestringCurrent account phone number (query)
emailstringNew email to change for the account (query)

Request Body

  • Content Type: None

Example

PUT /api/v1/users/{userId}/tenants/{tenantId}/change-email?password=currentPassword&phone=currentPhoneNumber&email=newEmail

Response Code: 200 - OK

Description

Email changed successfully.

Response Fields

The response does not contain any specific fields.

Method: PUT

>http://your-api-url/api/v1/users/{userId}/tenants/{tenantId}/change-email?password=currentPassword&phone=currentPhoneNumber&email=newEmail

Headers

Content-TypeValue
apiKey{{apiKey}}

🔑 Authentication bearer

ParamValueType
token{{accessCode}}string

LANGUAGE

AUTHORIZATION

Bearer

CURL REQUEST


curl --request PUT \ 
--url /api/v1/users/{userId}/tenants/{tenantId}/change-email \
--header 'accept: application/json' \
--header 'content-type: application/json'

RESPONSE


Click Try It! to start a request and see the response here!