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

Authorizations

Authorization
string
header
required

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

Body

application/json

Request body for updating the current user's profile.

display_name
string | null

New display name (null to clear).

Response

Successful Response

Public profile of the authenticated user.

id
string
required

Unique user identifier.

email
string
required

User email address.

created_at
string
required

ISO-8601 timestamp of account creation.

display_name
string | null

User-chosen display name.