Skip to main content
PUT
/
users
/
me
Update current user's profile
curl --request PUT \
  --url https://app.azalt.co/api/v1/users/me \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "phone": "<string>",
  "locale": "tr"
}
'
{
  "name": "<string>",
  "phone": "<string>",
  "email": "<string>",
  "locale": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
name
string
phone
string
locale
enum<string>
Available options:
tr,
en

Response

Successful response

name
string | null
required
phone
string | null
required
email
string
required
locale
string | null
required