Update password

POST /api/profile/password

Update password for the user, a verification record is required for checking sensitive permissions.

application/json

Body Required

  • password string Required

    The new password for the user.

    Minimum length is 1.

  • verificationRecordId string Required

    The verification record ID for checking sensitive permissions.

Responses

  • The password was updated successfully.

  • Bad Request

  • Unauthorized

  • Permission denied, the verification record is invalid.

  • Unprocessable Content

POST /api/profile/password
curl \
 -X POST https://[tenant_id].logto.app/api/profile/password \
 -H "Authorization: Bearer $ACCESS_TOKEN" \
 -H "Content-Type: application/json" \
 -d '{"password":"string","verificationRecordId":"string"}'
Request examples
{
  "password": "string",
  "verificationRecordId": "string"
}