Skip to main content
PATCH
/
api
/
auth
/
profiles
/
current
Update current user's profile
curl --request PATCH \
  --url https://api.example.com/api/auth/profiles/current \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "profile": {
    "name": "<string>",
    "avatar_url": "<string>"
  }
}
'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "profile": {
    "name": "<string>",
    "avatar_url": "<string>"
  }
}

Authorizations

Authorization
string
header
required

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

Body

application/json
profile
object
required

Profile data (name, avatar_url, and any custom fields)

Response

Profile updated successfully

id
string<uuid>

User ID

profile
object

User profile data (can contain custom fields)