AviatoAviato
DeveloperAPI ReferenceAuthPassword

/api/auth/password

PUT
/api/auth/password

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X PUT "https://example.com/api/auth/password" \  -H "Content-Type: application/json" \  -d '{    "currentPassword": "string",    "newPassword": "stringst"  }'
{
  "success": true,
  "token": "string",
  "expiresAt": "string"
}
{
  "error": "string"
}