Add Application Owner
warning
This endpoint is only available to users with Sentry Interactive issued auth tokens.
Adds a new owner to an existing application.
HTTP Request
POST https://api.doordeck.com/platform/application/APPLICATION_ID/owner
Request Parameters
| Parameter | Required | Description |
|---|---|---|
| applicationId | true | Application ID to add owner to |
Request Body
| Parameter | Required | Description |
|---|---|---|
| userId | true | User ID to add as owner |
Example
- Request
- Response
CURL
curl 'https://api.doordeck.com/platform/application/APPLICATION_ID/owner' \
-X POST \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer TOKEN' \
--data-binary '{"userId": "00000000-0000-0000-0000-000000000000"}'
Remember
- Replace
TOKENwith your access token. - Replace
APPLICATION_IDwith the application ID. - Replace
00000000-0000-0000-0000-000000000000with the ID of owner to be added.
HTTP CODE
204