PUT
/
api
/
v1
/
auth
/
update
/
{id}
curl --request PUT \
  --url https://chat.api.toolzz.com.br/api/v1/auth/update/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "lastName": "<string>"
}'
{
  "id": "<string>",
  "name": "<string>",
  "lastName": "<string>",
  "email": "<string>",
  "phone": "<string>",
  "imgProfileId": "<string>",
  "imgProfile": "<string>"
}

Parameters

id
string

Id of the account to update

name
string

Id of the account to update

lastName
string

Id of the account to update

Response Description

Below you will see the description of the Update Account response

id
uuid
required

Unique identifier of the user.

name
string
required

First name of the user.

lastName
string
required

Last name of the user.

email
string
required

Email address of the user.

phone
string

Phone number of the user (optional).

imgProfileId
uuid

Identifier of the user’s profile image (optional).

imgProfile
string

Array containing details about the user’s profile image (optional).