Skip to main content
PATCH
Update workspace settings
Related guide: Workspace settings guide. See the Workspace settings guide for a walkthrough with examples.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

UpdateWorkspaceSettingsRequest is a partial update: every field is optional and an omitted field is left unchanged.

The workspace slug is immutable through this service: it is embedded in resource URLs and API credentials.

display_name
string

New workspace display name. Omit to keep the current name.

enforce_enabled_models
boolean

New value for the enforce-enabled-models flag. Omit to keep the current value.

pii_redaction
object

Workspace-default PII redaction update. Omit to leave it unchanged. When present, enabled is always applied; config omitted keeps the stored config, config present replaces it wholesale, and config: {} clears it.

Response

OK

settings
object
required

Updated workspace settings.