Skip to main content
PATCH
/
api
/
v1
/
users
/
me
Update Current User
curl --request PATCH \
  --url https://api.example.com/api/v1/users/me \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "avatar_url": "<string>"
}
'
{
  "id": "<string>",
  "name": "<string>",
  "email": "<string>",
  "role": "<string>",
  "avatar_url": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.vinmake.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Body

application/json
name
string | null
required
avatar_url
string | null
required

Response

Successful Response

id
string
required
name
string
required
email
string
required
role
string
required
avatar_url
string | null