Skip to main content
POST
/
auth
/
change-password
Change Password
curl --request POST \
  --url https://api.faces.sh/auth/change-password \
  --header 'Content-Type: application/json' \
  --data '
{
  "current_password": "<string>",
  "new_password": "<string>"
}
'
{
  "success": true,
  "messages": [],
  "data": {},
  "error": "<string>",
  "meta": {}
}

Headers

authorization
string

Body

application/json
current_password
string
required
new_password
string
required
Maximum string length: 64

Response

Successful Response

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