Skip to main content
PATCH
/
v1
/
workspace
Patch Workspace
curl --request PATCH \
  --url https://api.example.com/v1/workspace \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "slug": "<string>",
  "timezone": "<string>",
  "sso_enforced": true,
  "ai_auto_link": true,
  "ai_confidence_threshold": 0.5,
  "ai_proof_window_days": 186,
  "industry": "<string>",
  "description": "<string>"
}
'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>",
      "input": "<unknown>",
      "ctx": {}
    }
  ]
}

Authorizations

Authorization
string
header
required

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

Body

application/json
name
string | null
Required string length: 2 - 100
slug
string | null
Pattern: ^[a-z0-9](?:[a-z0-9-]{0,58}[a-z0-9])?$
timezone
string | null
default_theme
enum<string> | null
Available options:
dark,
light
sso_enforced
boolean | null
ai_confidence_threshold
number | null
Required range: 0 <= x <= 1
ai_proof_window_days
integer | null
Required range: 7 <= x <= 365
industry
string | null
description
string | null
Maximum string length: 2000

Response

Successful Response