Sign inGet Started

Update a workspace in the organization

PATCH
/v1/organization/workspaces/{workspace_id}
const workspace = await bird.organization.workspaces.update(
  "ws_01krdgeqcxet5s7t44vh8rt9mg",
  { name: "Production" },
);
console.log(workspace.name);
Respons200
{
  "id": "ws_01krdgeqcxet5s7t44vh8rt9mg",
  "organization_id": "org_01krdgeqcxet5s7t44vh8rt9mg",
  "name": "Production",
  "notification_emails": {
    "operational": [
      "alerts@example.com"
    ]
  },
  "suspended_at": null,
  "created_at": "2026-05-20T09:14:52Z",
  "updated_at": "2026-05-25T16:42:01Z"
}

Updates mutable fields on any workspace in the organization by ID. Organization administrators can manage workspaces without holding a workspace-level role. Organization master keys and authorized CLI or MCP access tokens need organization workspace write access. Workspace API keys cannot call this operation.

Parameter

workspace_idstring

Workspace identifier. Starts with ws_.

Payload Permintaan

name
string

New display name for the workspace, as it appears in the dashboard and in workspace lists. Must include at least one letter or number.

Payload Respons

id
string
wajib
organization_id
string
wajib
name
string
wajib
notification_emails
object
wajib
Tampilkan atribut turunan
logo_url
nullable string

HTTPS URL to the current workspace logo. null when unset.

suspended_at
nullable string

When Bird suspended the workspace. null while the workspace is active. A suspended workspace cannot send messages, place calls other than emergency calls, or buy numbers or eSIMs. Its members can still sign in, read it and change its configuration.

created_at
string
wajib
updated_at
string
wajib