Skip to main content
DELETE
/
workspaces
/
{id}
Delete a workspace
curl --request DELETE \
  --url https://openrouter.ai/api/v1/workspaces/{id} \
  --header 'Authorization: Bearer <token>'
{
  "deleted": true
}

Authorizations

Authorization
string
header
required

API key as bearer token in Authorization header

Path Parameters

id
string
required

The workspace ID (UUID) or slug

Minimum string length: 1
Example:

"production"

Response

Workspace deleted successfully

deleted
boolean
required

Confirmation that the workspace was deleted

Example:

true