Delete a bookmark
This workflow sample demonstrates how to delete a bookmark.
tip
You can try out this API with the REST API Playground
info
Obtain the authorization token needed to execute the request using POST /api/auth/login.
Get the project ID from GET /api/projects.
Delete a bookmark
By using this workflow, you can quickly delete a bookmark.
Request URL
DELETE /api/bookmarks/{id}
- id: Bookmark ID
Request Headers
| Name | Type | Description |
|---|---|---|
X-MSTR-AuthToken | Header | Authorization token generated by POST /api/auth/login |
X-MSTR-ProjectID | Header | Project ID generated by GET /api/projects |
Sample Curl Request
curl -X DELETE 'http://demo.microstrategy.com/MicroStrategyLibrary/api/bookmarks/1F0B794593D648AFC0' \
-H 'X-MSTR-AuthToken: h979btnpbep63peg8ind69ot79' \
-H 'X-MSTR-ProjectID: B7CA92F04B9FAE8D941C3E9B7E0CD754'
Response
If successful, this request returns a 204 status code.
HTTP Status Codes
| Status Code | Description |
|---|---|
| 204 | No Content |
| 500 | Internal Server Error |
| 401 | Unauthorized |
| 400 | Bad Request |