Logo
MicroStrategy REST API API Documentation

Remove(Unsubscribe) subscription by ID

DELETE {{baseUrl}}/api/subscriptions/:id

Remove(Unsubscribe) the subscription using subscription id. You obtain the authorization token needed to execute the request using POST /auth/login; you obtain the project ID using GET /projects; You pass the authorization token and the project ID in the request header. You Remove(Unsubscribe) the subscription by specifying the subscription ID in the path of the request; You obtain the subscription ID using GET /subscriptions.

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 
X-MSTR-AuthToken
string (Required) Authorization token
X-MSTR-ProjectID
string (Required) Project ID




RESPONSES

status





Curl
curl -X DELETE 'baseUrl/api/subscriptions/:id' -H 'X-MSTR-AuthToken: authToken' -H 'X-MSTR-ProjectID: projectId'

ENDPOINTS