Skip to content

Update Workspace

Rename the workspace or change its slug.

PATCH/api/v1/workspace

Requires an API key with the write scope.

The user who created the key must be an owner or admin of the workspace.

Body Parameters#

namestringbody

New name, up to 255 characters.

slugstringbody

New URL slug: lowercase letters, digits and single hyphens, up to 100 characters. Must be unique.

Response#

Returns the updated workspace in data.

Errors#

StatusDescription
401Missing, invalid, revoked or expired API key
403The user who created the key does not have the required role in this workspace (insufficient_role), or is no longer a member (key_creator_not_member)
400Slug already taken
422Name or slug is not valid

Rate Limit#

  • 120 requests per minute, shared by every write call in your workspace. Fixed 60-second window.
  • Every response includes X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset (unix epoch seconds) and X-RateLimit-Bucket (write).
  • A 429 response includes a Retry-After header (seconds until the bucket resets).

For client-side patterns, see Rate Limiting.

Was this page helpful?
View as MarkdownLast updated November 4, 2026