In this article
Delete Subscription
Use this endpoint to delete subscriptions based on the subscription ID.
Both the requester and the subscriber listed in the given subscription must have permissions granted to the item that they are deleting.
URL
https://api.digitalvault.cloud/subscription/{{id}}
Method
DELETE
Required IMS Scopes
subscription_write
URL Path Parameters
| Property | Description |
|---|---|
| id | Id of the subscription to delete |
Request Header Parameters
| Property | Description |
|---|---|
| Authentication | Bearer {access_token} required |
Success Status Code
| Status | Description |
|---|---|
| 200 | Subscription did not exist |
| 204 | Subscription deleted |
Errors
| Error | Description |
|---|---|
| 401 | Unauthorized |
| 403 | Forbiden. Possible causes: You do not have access to this endpoint (scope) You do not have access to the source * The subscriber does not have access to the source |
Example
Request
DELETE https://api.digitalvault.cloud/subscription/sub:app:testApp2:1cb8823defe84e2ca2b26befa6df69fd:subscriptionDevTest1