Skip to main content
DELETE
Delete a workspace

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"

Query Parameters

confirm_default_settings_deletion
enum<string>

Required to delete the default workspace (currently limited to internal OpenRouter administrators while the capability rolls out). Deleting it permanently disables the account’s unscoped inference API keys (management/provisioning keys are retained) and its budgets, guardrails, classifiers, and broadcast destinations. Ignored for non-default workspaces.

Available options:
true,
false
Example:

"false"

Response

Workspace deleted successfully

deleted
boolean
required

Confirmation that the workspace was deleted

Example:

true