Logo
MicroStrategy REST API API Documentation

Un-publish a document

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

Un-publish a previously published document. This makes the document no longer available in the library of each user it was originally published to. You obtain the authorization token needed to execute the request using POST /auth/login; you pass the authorization token and the project ID in the request header. You provide the ID of the document to be unpublished in the path of the request.

 

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/library/:id' -H 'X-MSTR-AuthToken: authToken' -H 'X-MSTR-ProjectID: projectId'

ENDPOINTS