Skip to content

Reset password

Request

Change the password to the value provided if the reset code matches that sent to the account's email address.

Security
SessionKey(Required scopes: public)
Path
resetnumberrequired

Unique identifier of the reset request.

Bodyapplication/json
passwordstringrequired

The value the password should be reset to.

codenumberrequired

The reset code sent to the account email address.

curl -i -X PATCH \
  'https://docs.ticketingevents.com/_mock/openapi/resets/{reset}' \
  -H 'Content-Type: application/json' \
  -H 'X-API-Key: YOUR_API_KEY_HERE' \
  -d '{
    "password": "Th380Y$4L1F3",
    "code": 842164
  }'

Responses

The account password was successfully reset

Bodyapplication/json
messagestring

Reason for the given response.

Response
{ "message": "The account password has been reset." }