Delete a Subscription
DELETE
v1/subscriptions/{subscriptionId}
Delete the subscription corresponding to the path parameter subscriptionId.
Resource Information
Method and URI | DELETE https://developer.api.autodesk.com/fevnt/v1/subscriptions/:subscriptionId |
Authentication Context | user context optional |
Required OAuth Scopes | data:read data:write |
Data Format | JSON |
Request
Headers
Authorization* string | Must be Bearer <token> , where <token> is obtained via either a two-legged or three-legged OAuth flow. |
x-request-id string | GUID used by the service team track the request |
region string | Specifies the geographical location (region) of the server that the request is executed on. Default is US. |
collection-id string | Specifies the collection ID being subscribed to. The request will be routed to the region containing the collection. The region header and region query parameter always have precedence over this header. |
locale-container-id string | Specifies the Locale Service container ID. The request is routed to the region specified by this ID. The region header and region query parameter always have precedence over this header. |
* Required
Request
URI Parameters
subscriptionId string | The subscription ID for the operation. |
Request
Query String Parameters
region string | Specifies the geographical location (region) of the server that the request is executed on. Default is US. The region header also specifies the region. If you specify both, the region header has precedence. |
locale-container-id string | Specifies the Locale Service container ID. The request is routed to the region specified by this ID. The region header and region query parameter always have precedence over this query parameter. |
Response
HTTP Status Code Summary
200 OK | Subscription was successfully deleted. |
401 Unauthorized | Request has not been applied because it lacks valid authentication credentials for the target resource. |
403 Forbidden | The server understood the request but refuses to authorize it. |
404 Not Found | The resource cannot be found. |
429 Too Many Requests | User has sent too many requests in a given amount of time. |
500 Internal Server Error | An unexpected error occurred on the server. |
503 Service Unavailable | Service temporarily unavailable. |
Example
Subscription was successfully deleted.
Request
curl -v 'https://developer.api.autodesk.com/fevnt/v1/subscriptions/:subscriptionId' \
-X 'DELETE' \
-H 'Authorization: Bearer AuIPTf4KYLTYGVnOHQ0cuolwCW2a'
Response
{}