In this article
Delete Subscription Type
Use this endpoint to delete subscriptions based on the type ID.
The requester must have permissions granted to the item being deleted.
URL
https://{{HOST}}/subscriptiontype/{{id}}
Method
DELETE
Required IMS Scopes
- subscription_write
- apollo_write
URL Path Parameters
| Name | Description | Example | Type |
|---|---|---|---|
| id required |
Id of the subscription type to delete | /endpoint/id | string |
Request Header Parameters
| Type | Value | Description |
|---|---|---|
| Authorization required |
Bearer {access_token} | IMS access token |
| Content-Type required |
application/json | Content Type |
Example
Request
curl -X DELETE
'https://{{HOST}}/subscriptiontype/d8178fd0-35ed-499e-89ad-d5b13f0d4427'
-H 'Authorization: Bearer {access_token}'
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 |