[DELETE] - Delete Subscription

  • Updated

Use this API allows you to delete the notification subscription(s). 

Endpoint

DELETE https://api.insideview.com/api/v1/subscription/{{subscriptionId}}

Request

HTTP Headers

Header Name Type Required Description
accessToken String Yes

Valid access token.
See Authentication and Authorization Overview for more details.

Accept String No Selects the response's content type.  
Valid values are application/json and application/xml (default)

URI Parameters

Parameter Name Type Required Description
subscriptionId String Yes

Subscription ID to be deleted

Responses

HTTP 200


{ "subscriptionId": "78oro46b0cnjc1cubi93" }

HTTP Error Codes

If you delete the same subscription

{
     "errorType": "VALIDATION_ERROR",
     "status": 400,
     "message": "Invalid subscription ID",
     "diagnosticCode": "h4g2v0hmcci0en5hb6r2",
     "errorNumber": "400-1509"
}