Skip to main content
PATCH
/
v1
/
users
/
me
Update current user information
curl --request PATCH \
  --url https://api.example.com/v1/users/me \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "name": "<string>"
}
'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z",
  "status": "ACTIVE",
  "name": "<string>",
  "email": "[email protected]",
  "credits_balance": 123
}

Authorizations

x-api-key
string
header
required

Body

application/json
name
string

The updated name of the user

Response

User information updated successfully

id
string<uuid>
created_at
string<date-time>
updated_at
string<date-time>
status
enum<string>
Available options:
ACTIVE,
INACTIVE
name
string
email
string<email>
credits_balance
integer

The user's current credit balance