Platform API reference

Platform API · Workspaces

delete/v1/workspaces/{workspace_slug}Auth

Delete a workspace (requires workspace.delete). Cookie/JWT only — irreversible workspace destruction needs a human-attributed audit row.

Path parameters

workspace_slug*string

Slug of the workspace. Platform routes name the workspace by slug, positionally in the SDK (`platform.workspaces.retrieve("acme")`); the product APIs bind `workspace_id` instead.

Response · 204

Workspace deleted.

Example

Request

DELETE https://api.platform-auth.productcraft.co/v1/workspaces/{workspace_slug}
Authorization: Bearer YOUR_TOKEN