Workspace API
Delete a Favorite View
Unfavorite Views with DELETE /workspace/favorite-views/{viewId} and POST /delete/batch.
DELETE https://api.parcelengineering.com/api/v1/workspace/favorite-views/{viewId}POST https://api.parcelengineering.com/api/v1/workspace/favorite-views/delete/batchRemoves the current user’s Favorite pointer. The shared View is unchanged. Unfavorite is idempotent for the single route when the Favorite is already absent.
Delete costs 0 credits. Requires a user JWT and workspace membership. API keys receive 400 user_identity_required.
The Workspace API requires the Pro plan. A request from a non-Pro workspace or a non-member receives 403 forbidden.
Path parameters (single)
| Parameter | Description |
|---|---|
viewId | UUID of the shared View to unfavorite. |
Batch body
{ "ids": ["a1b2c3d4-0001-4e8d-bf6a-000000000001", "b2c3d4e5-0002-4e8d-bf6a-000000000002"] }1–100 View UUIDs. Per-item results in input order.
Example
curl -X DELETE \ https://api.parcelengineering.com/api/v1/workspace/favorite-views/a1b2c3d4-0001-4e8d-bf6a-000000000001 \ -H "Authorization: Bearer eyJhbGciOi..."const response = await fetch( 'https://api.parcelengineering.com/api/v1/workspace/favorite-views/a1b2c3d4-0001-4e8d-bf6a-000000000001', { method: 'DELETE', headers: { 'Authorization': 'Bearer eyJhbGciOi...' }, });
const { data, metadata } = await response.json();Response
{ "data": { "deleted": true }, "metadata": { "credits": 0 }}