Skip to main content
PATCH
Rename a workspace
A management action — organization admins, or the workspace’s owner-role members. At least one field must be provided.
Availability: Cloud · Community (self-hosted) · Enterprise (self-hosted)

Authorizations

Authorization
string
header
required

A workspace API key (oc_…) or organization API key (oc_org_…). Workspace-scoped endpoints called with an organization key also need X-Workspace-Id.

Path Parameters

workspaceId
string
required

Body

application/json
name
string
Required string length: 1 - 100

Response

The updated workspace

id
string
name
string
slug
string
createdAt
string<date-time>