put
https://{host}/api/v2/my/profile
Update User Profile Information
Update the profile information of a specific user account, including basic details such as first name and last name.
HTTP Method and URL
PUT {{host}}/api/v2/my/profile?user_type=ENTERPRISE_API
Authentication Requirements
Requires a valid user-token (Bearer Token) in the request headers.
Query Parameters
user_type(string, required): Must be set toENTERPRISE_API.
Request Body
Content-Type: multipart/form-data
| Field | Type | Required | Description |
|---|---|---|---|
| first_name | string | Yes | The user's first name |
| last_name | string | Yes | The user's last name |
Example Request
PUT {{host}}/api/v2/my/profile?user_type=ENTERPRISE_API
Authorization: Bearer {USER-TOKEN}
Content-Type: multipart/form-data
first_name=Tests
last_name=Tests
Example Successful Response
{
"message": "Profile updated successfully."
}
Error Responses
-
401 Unauthorized: Authentication failed or missing token. -
422 Unprocessable Entity: Required fields are missing or invalid.
Usage Notes
-
Both
first_nameandlast_nameare required fields. -
Ensure the
user-tokenis valid and has permission to update the profile.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
