Skip to main content
PATCH
/
v1
/
auth
/
me
Atualizar usuario autenticado
curl --request PATCH \
  --url http://localhost:4000/v1/auth/me \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "displayName": "<string>",
  "email": "jsmith@example.com",
  "username": "<string>",
  "avatarUrl": "<string>"
}
'
{
  "id": "<string>",
  "displayName": "<string>",
  "email": "jsmith@example.com",
  "username": "<string>",
  "avatarUrl": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.refy.to/llms.txt

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

Authorizations

Authorization
string
header
required

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

Body

application/json
displayName
string
email
string<email>
username
string
avatarUrl
string<uri>

Response

200 - application/json

Usuario atualizado

id
string
displayName
string
email
string<email>
username
string
avatarUrl
string<uri>