Skip to main content
PATCH
Update workspace

Authorizations

Authorization
string
header
required

An API key from the dashboard, such as sk_live_…. It acts in its workspace.

Path Parameters

workspace_id
string
required

ws_….

Body

application/json
name
string
required

Its new name, 1 to 64 characters.

Response

OK

created_at
string
required

RFC 3339.

id
string
required

ws_…; it starts with its region's code, such as ws_use_… for us-east.

key_prefix
string
required

What its API keys start with: sk_live_, sk_test_ or sk_.

name
string
required

What it's for, such as "Production" or "Acme".

organization_id
string
required

The organization it belongs to, org_….

rate_limit_per_minute
integer<uint32>
required

Requests per minute its keys may make, together.

Required range: x >= 0
region
string
required

Its home region, where its data lives and its renders run.

status
required

deleting once it's deleted, until it's purged or restored.

Available options:
active
monthly_spend_cap_cents
integer<uint64> | null

The most its billable work may cost per calendar month, in USD cents; none when absent.

Required range: x >= 0
purge_at
string | null

When a deleted workspace is purged, with everything in it (RFC 3339); absent unless it's deleting.