Skip to content

Update Profile

Endpoint used to update the current user profile in Toolzz Chat.

Terminal window
curl --request PUT \
--url 'https://chat.toolzz.ai/api/v1/profile' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"name": "<string>",
"email": "<string>"
}'
ParameterTypeDescriptionRequired
AuthorizationStringAccess token (must contain “Bearer” before the token)Yes
ParameterTypeDescriptionRequired
namestringNew name for the user profile.No
emailstringNew email for the user profile.No

KeyTypeDescription
idnumberUnique identifier of the user.
namestringUpdated name of the user.
emailstringUpdated email of the user.
rolestringRole of the user.

To access this endpoint, it is necessary to send a valid access token through the authorization header (Authorization) of the request.