Update User Details
This endpoint updates a user's details, currently this is limited to display name.
HTTP Request
POST https://api.doordeck.com/account
Request Parameters
| Parameter | Required | Description |
|---|---|---|
| displayName | true | User's desired display name |
Example
- Request
- Response
CURL
curl "https://api.doordeck.com/account" \
-H "Authorization: Bearer TOKEN" \
-X POST \
-H 'content-type: application/json' \
--data-binary '{"displayName":"NEW_DISPLAY_NAME"}'
Remember
- Replace
TOKENwith your access token. - Replace
NEW_DISPLAY_NAMEwith the new display name to use.
HTTP CODE
204