Workspace API
Delete a Project
Remove your workspace's custom data for a project with DELETE /workspace/projects/{id}.
DELETE https://api.parcelengineering.com/api/v1/workspace/projects/{id}Removes your workspace’s custom data for the project (your status, notes, and tags). The global Parcel project is not affected and remains available in the Data API. The project will no longer appear in workspace searches after deletion.
This operation is idempotent. Deleting a project that is not in your workspace returns a success response with no error.
Delete costs 0 credits.
The Workspace API requires the Pro plan. A request from a non-Pro workspace or a non-member receives 403 forbidden.
Path parameters
| Parameter | Description |
|---|---|
id | UUID of the project to delete from your workspace. |
Example
curl -X DELETE \ https://api.parcelengineering.com/api/v1/workspace/projects/7b2e4d1f-0001-4c8e-af6b-000000000001 \ -H "Authorization: Bearer pcl_your_api_key"const response = await fetch( 'https://api.parcelengineering.com/api/v1/workspace/projects/7b2e4d1f-0001-4c8e-af6b-000000000001', { method: 'DELETE', headers: { 'Authorization': 'Bearer pcl_your_api_key', }, });
const { data, metadata } = await response.json();Response
{ "data": { "deleted": true }, "metadata": { "credits": 0 }}Delete costs 0 credits.