Delete a Dock
Permanently deletes a dock. This cascades to all artifacts, recipients, policies, and audit logs within the dock.
Path Parameters
| Parameter | Type | Description |
|---|
id | string | The dock ID |
Example Request
curl -X DELETE https://api.docyard.io/v1/docks/dock_01HQ3K... \
-H "Authorization: Bearer dk_live_a1b2c3d4..."
Response
Error Handling
| Status | Condition |
|---|
401 | Missing or invalid API key |
404 | Dock not found |
This action is irreversible. All artifacts, recipients, policies, groups, secrets, and audit logs within the dock are permanently deleted. Ensure you have exported any required compliance data before deletion.