Skip to content

Workspace API

Delete a Favorite View

Unfavorite Views with DELETE /workspace/favorite-views/{viewId} and POST /delete/batch.

Endpoints
DELETE https://api.parcelengineering.com/api/v1/workspace/favorite-views/{viewId}
POST https://api.parcelengineering.com/api/v1/workspace/favorite-views/delete/batch

Removes 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.

Path parameters (single)

ParameterDescription
viewIdUUID of the shared View to unfavorite.

Batch body

POST /workspace/favorite-views/delete/batch
{ "ids": ["a1b2c3d4-0001-4e8d-bf6a-000000000001", "b2c3d4e5-0002-4e8d-bf6a-000000000002"] }

1–100 View UUIDs. Per-item results in input order.

Example

Unfavorite a View
curl -X DELETE \
https://api.parcelengineering.com/api/v1/workspace/favorite-views/a1b2c3d4-0001-4e8d-bf6a-000000000001 \
-H "Authorization: Bearer eyJhbGciOi..."

Response

Response
{
"data": { "deleted": true },
"metadata": { "credits": 0 }
}