Delete an Entry
Delete one entry from a shared store.
This page documents its request, success response, and error response fields in full.
Request
Headers
| Header | Type | Required | Allowed value and meaning |
|---|---|---|---|
Authorization | string | Yes | Bearer <Mosaic API key>. The key's organization must own the store. |
Path parameters
| Parameter | Type | Required | Allowed value and meaning |
|---|---|---|---|
store_id | UUID string | Yes | Mosaic-generated store.id containing the entry. |
entry_id | string | Yes | Exact non-empty store-scoped entry ID to delete. URL-encode reserved path characters. |
This endpoint has no query parameters or JSON request body.
bash
curl -X DELETE \
"https://api.mosaic.so/shared-stores/11111111-1111-4111-8111-111111111111/entries/0689B" \
-H "Authorization: Bearer mk_your_api_key"Response
200 OK
json
{ "success": true }| Field | Type | Possible values |
|---|---|---|
success | boolean | Always true in a 200 OK response. |
Error responses
| Status | Payload | Possible value |
|---|---|---|
400 Bad Request | { "error": "entryId is required" } | The entry ID path value is empty. |
401 Unauthorized | { "detail": string } | detail is exactly Authorization header must start with Bearer, invalid_api_key, or API key must be associated with an organization. |
403 Forbidden | { "detail": "api_access_required" } | API access is unavailable for the organization. |
404 Not Found | { "error": "Shared store not found" } | The store does not exist or belongs to another organization. |
404 Not Found | { "error": "Shared store entry not found" } | The entry ID does not exist in the store. |
500 Internal Server Error | { "error": "Failed to delete shared store entry" } | The entry could not be deleted. |