Skip to content
Pile
Esc
↑↓navigate↵open⌘Jpreview

Delete workspace

DELETE/workspaces/{id}
Path parameters
idstringrequired
Responses
200

Workspace permanently deleted — every org-scoped D1 row, all R2 attachment objects, and the workspace Durable Object's storage.

deletedbooleanrequired
r2Objectsnumberrequired
403

Requires owner or admin role in the workspace

404

Workspace not found

Try it
Server
Parameters
Request
curl -X DELETE '/workspaces/string'
Response
{
  "deleted": true,
  "r2Objects": 0
}