Skip to main content
PATCH
/
auth
/
me
Update Me
curl --request PATCH \
  --url https://api.faces.sh/auth/me \
  --header 'Content-Type: application/json' \
  --data '
{
  "current_password": "<string>",
  "username": "<string>",
  "email": "<string>"
}
'
{
  "success": true,
  "messages": [],
  "data": {
    "user_id": "<string>",
    "username": "<string>",
    "email": "<string>",
    "name": "<string>",
    "is_admin": true
  },
  "error": "<string>",
  "meta": {}
}

Headers

authorization
string

Body

application/json
current_password
string
required
username
string | null
email
string | null

Response

Successful Response

success
boolean
required
messages
string[] | null
data
MeResponse · object
error
meta
Meta · object