Endpoint used to update the current user profile in Toolzz Chat.
--url 'https://chat.toolzz.ai/api/v1/profile' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
| Parameter | Type | Description | Required |
|---|
Authorization | String | Access token (must contain “Bearer” before the token) | Yes |
| Parameter | Type | Description | Required |
|---|
name | string | New name for the user profile. | No |
email | string | New email for the user profile. | No |
| Key | Type | Description |
|---|
id | number | Unique identifier of the user. |
name | string | Updated name of the user. |
email | string | Updated email of the user. |
role | string | Role of the user. |
To access this endpoint, it is necessary to send a valid access token through the authorization header (Authorization) of the request.