Workspace API
Delete an Account
Remove your workspace's custom data for an account with DELETE /workspace/accounts/{id}.
DELETE https://api.parcelengineering.com/api/v1/workspace/accounts/{id}Removes your workspace’s custom data for the account (your ICP tier, status, notes, and tags). The global Parcel account is not affected and remains available in the Data API. The account will no longer appear in workspace searches after deletion.
This operation is idempotent. Deleting an account 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 account to delete from your workspace. |
Example
curl -X DELETE \ https://api.parcelengineering.com/api/v1/workspace/accounts/8a1f3c2e-0001-4b7d-9e5a-000000000001 \ -H "Authorization: Bearer pcl_your_api_key"const response = await fetch( 'https://api.parcelengineering.com/api/v1/workspace/accounts/8a1f3c2e-0001-4b7d-9e5a-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.