put
https://{host}/api/v2/account/email
Update User Email
Update the email address of an existing user by specifying the user type and providing the new email address.
HTTP Method and URL
PUT {{host}}/api/v2/account/email?user_type=ENTERPRISE_API
Authentication Requirements
Requires a valid user-token provided as an environment or global variable.
Query Parameters
user_type(string, required): The type of user to update. Example:ENTERPRISE_API
Request Body
Content-Type: multipart/form-data
email(string, required): The new email address for the user. Example:[email protected]
Example Request
PUT {{host}}/api/v2/account/email?user_type=ENTERPRISE_API
Content-Type: multipart/form-data
Authorization: Bearer {USER-TOKEN}
[email protected]
Example Successful Response
{
"status": "success",
"message": "Email updated successfully."
}
Error Responses
-
400 Bad Request: Invalid email format or missing parameters. -
401 Unauthorized: Missing or invalid authentication token. -
404 Not Found: User not found. -
409 Conflict: Email already in use.
Usage Notes
-
Ensure the
user-tokenvariable is set in your environment. -
Only users with the specified
user_typecan be updated using this endpoint. -
The request body must be sent as
multipart/form-data.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
