Skip to main content
DELETE
/
workspaces
/
{id}
Delete a workspace
const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};

fetch('https://api.phaseo.app/v1/workspaces/{id}', options)
  .then(res => res.json())
  .then(res => console.log(res))
  .catch(err => console.error(err));
{
  "deleted": true
}

Documentation Index

Fetch the complete documentation index at: https://docs.ai-stats.phaseo.app/llms.txt

Use this file to discover all available pages before exploring further.

This endpoint requires a management API key. Standard Gateway API keys are not accepted.
The default workspace cannot be deleted, and workspaces with active API keys must be cleaned up first.

Authorizations

Authorization
string
header
required

Bearer token authentication

Path Parameters

id
string
required

Workspace UUID or slug.

Response

Workspace deleted

deleted
enum<boolean>
required
Available options:
true
Last modified on April 29, 2026