Change Password
warning
This endpoint is only available to users with Sentry Interactive issued auth tokens.
This endpoint is used to allow a user to change their password.
HTTP Request
POST https://api.doordeck.com/account/password
Request Parameters
| Parameter | Required | Description |
|---|---|---|
| oldPassword | true | User's old password. |
| newPassword | true | User's desired new password. |
Example
- Request
- Response
CURL
curl "https://api.doordeck.com/account/password" \
-H "Authorization: Bearer TOKEN" \
-X POST \
-H 'content-type: application/json' \
--data-binary '{"oldPassword":"OLD_PASSWORD","newPassword":"NEW_PASSWORD"}'
Remember
- Replace
TOKENwith your access token. - Replace
OLD_PASSWORDwith the users' current password andNEW_PASSWORDwith their desired password.
HTTP CODE
204