Skip to main content
DELETE
Delete a workspace

Authorizations

Authorization
string
header
required

A Nemonist key (sk-nm-...) as a bearer token in the Authorization header.

Headers

HTTP-Referer
string

The app identifier should be your app's URL and is used as the primary identifier for rankings. This is used to track API usage per application.

X-OpenRouter-Title
string

The app display name allows you to customize how your app appears in OpenRouter's dashboard.

X-OpenRouter-Categories
string

Comma-separated list of app categories (e.g. "cli-agent,cloud-agent"). Used for marketplace rankings.

Path Parameters

id
string
required

The workspace ID or slug

Minimum string length: 1
Example:

"production"

Query Parameters

confirm_default_workspace_deletion
enum<boolean>

Required to delete the default workspace. 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