Skip to main content
POST
/
auth
/
change-password
Change Password
curl --request POST \
  --url http://localhost:8000/auth/change-password \
  --header 'Content-Type: application/json' \
  --data '
{
  "current_password": "<string>",
  "new_password": "<string>"
}
'
{
  "message": "<string>",
  "success": true
}

Headers

authorization
string | null
x-api-key
string | null
x-tenant-id
string | null

Cookies

factio_access_token
string | null

Body

application/json
current_password
string
required

Current password

Required string length: 8 - 128
new_password
string
required

New password

Required string length: 8 - 128

Response

Successful Response

message
string
required
success
boolean
default:true