APIBookmarks
Delete Bookmark
Delete an existing bookmark using the SaveIt.now API
2 min read
apibookmarksdelete
Delete Bookmark
Delete an existing bookmark from your SaveIt.now account.
API Reference
Method: DELETE
Endpoint: /api/v1/bookmarks/{bookmarkId}
URL Parameters
Parameter | Type | Required | Description |
---|---|---|---|
bookmarkId | string | Yes | The unique identifier of the bookmark to delete |
Examples
Bash (cURL)
curl -X DELETE https://saveit.now/api/v1/bookmarks/bm_1234567890 \
-H "Authorization: Bearer YOUR_API_KEY"
JavaScript
const response = await fetch('https://saveit.now/api/v1/bookmarks/bm_1234567890', {
method: 'DELETE',
headers: {
'Authorization': 'Bearer YOUR_API_KEY',
}
});
const data = await response.json();
console.log(data);
Results
Success Response
{
"success": true,
"message": "Bookmark deleted successfully"
}
Error Responses
404 Not Found - Bookmark not found or doesn't belong to the user
{
"success": false,
"error": "Bookmark not found"
}
401 Unauthorized - Invalid or missing API key
{
"success": false,
"error": {
"code": "UNAUTHORIZED",
"message": "Invalid or missing API key"
}
}
Notes
- Deleting a bookmark is permanent and cannot be undone
- Associated files (screenshots, metadata) stored in S3 will also be removed
- You can only delete bookmarks that belong to your account
- The bookmark ID can be obtained from the List Bookmarks API