Skip to main content
POST
/
change-password
cURL
curl --request POST \
  --url https://gateway.architect.exchange/api/change-password \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "password": "<string>",
  "username": "<string>",
  "totp": "<string>"
}
'
{
  "message": "<string>"
}

Authorizations

Authorization
string
header
required

User session token

Body

application/json
password
string
required
username
string
required
totp
string | null

Optional 2FA code, if 2FA is enabled/required for the user.

Response

Password changed successfully

message
string
required