Logo
MicroStrategy REST API API Documentation

Bulk deletion of bookmarks

DELETE {{baseUrl}}/api/bookmarks

Bulk deletion of bookmarks. 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 provide the IDs of the bookmarks you want to bulk delete in the body of the request which can be obtained using GET /shortcuts/{shortcutId}/bookmarks.

 

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
Content-Type
string




RESPONSES

status





Curl
curl -X DELETE 'baseUrl/api/bookmarks' -H 'X-MSTR-AuthToken: authToken' -H 'X-MSTR-ProjectID: projectId' -H 'Content-Type: application/json' -d '{"shortcutId":"295F85C4464C4E676F6DB3B73C2CF47C","bookmarkIds":["F1E12C6B614B1994A71AD09DD2502342"]}'

ENDPOINTS