Skip to content

Commit 9afd376

Browse files
openrouter-docs-sync[bot]OpenRouter SDK Bot
andauthored
chore: update OpenAPI spec from monorepo (#648)
Co-authored-by: OpenRouter SDK Bot <sdk-bot@openrouter.ai>
1 parent 69c5e6b commit 9afd376

1 file changed

Lines changed: 13 additions & 1 deletion

File tree

‎.speakeasy/in.openapi.yaml‎

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37724,7 +37724,7 @@ paths:
3772437724
x-speakeasy-name-override: 'create'
3772537725
/workspaces/{id}:
3772637726
delete:
37727-
description: 'Delete an existing workspace. The default workspace cannot be deleted. Workspaces with active API keys cannot be deleted; remove the keys first. [Management key](/docs/guides/overview/auth/management-api-keys) required.'
37727+
description: 'Delete an existing workspace. Workspaces with active API keys cannot be deleted; remove the keys first. Deleting the default workspace is currently limited to internal OpenRouter administrators while the capability rolls out; other callers receive a 403. When permitted, it requires `confirm_default_settings_deletion=true` and additionally disables the account’s unscoped inference API keys; management (provisioning) keys are retained. Deleting any workspace permanently deletes its budgets and guardrails and disables its classifiers and broadcast destinations. [Management key](/docs/guides/overview/auth/management-api-keys) required.'
3772837728
operationId: 'deleteWorkspace'
3772937729
parameters:
3773037730
- description: 'The workspace ID (UUID) or slug'
@@ -37736,6 +37736,18 @@ paths:
3773637736
example: 'production'
3773737737
minLength: 1
3773837738
type: 'string'
37739+
- description: '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.'
37740+
in: 'query'
37741+
name: 'confirm_default_settings_deletion'
37742+
required: false
37743+
schema:
37744+
description: '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.'
37745+
enum:
37746+
- 'true'
37747+
- 'false'
37748+
example: 'false'
37749+
type: 'string'
37750+
x-openrouter-type: 'boolean'
3773937751
responses:
3774037752
'200':
3774137753
content:

0 commit comments

Comments
 (0)