📄 claude/api/admin-api/workspaces/update-workspace

File: update-workspace.md | Updated: 11/15/2025

Source: https://docs.claude.com/en/api/admin-api/workspaces/update-workspace

Agent Skills are now available! Learn more about extending Claude's capabilities with Agent Skills .

Claude Docs home pagelight logodark logo

US

English

Search...

Ctrl K

Search...

Navigation

Workspace Management

Update Workspace

Home Developer Guide API Reference Model Context Protocol (MCP) Resources Release Notes

cURL

cURL

Copy

curl "https://api.anthropic.com/v1/organizations/workspaces/wrkspc_01JwQvzr7rXLA5AGx3HKfFUJ" \
  --header "anthropic-version: 2023-06-01" \
  --header "content-type: application/json" \
  --header "x-api-key: $ANTHROPIC_ADMIN_KEY" \
  --data '{
    "name": "Workspace Name"
  }'

200

4XX

Copy

{
  "archived_at": "2024-11-01T23:59:27.427722Z",
  "created_at": "2024-10-30T23:58:27.427722Z",
  "display_color": "#6C5BB9",
  "id": "wrkspc_01JwQvzr7rXLA5AGx3HKfFUJ",
  "name": "Workspace Name",
  "type": "workspace"
}

POST

/

v1

/

organizations

/

workspaces

/

{workspace_id}

cURL

cURL

Copy

curl "https://api.anthropic.com/v1/organizations/workspaces/wrkspc_01JwQvzr7rXLA5AGx3HKfFUJ" \
  --header "anthropic-version: 2023-06-01" \
  --header "content-type: application/json" \
  --header "x-api-key: $ANTHROPIC_ADMIN_KEY" \
  --data '{
    "name": "Workspace Name"
  }'

200

4XX

Copy

{
  "archived_at": "2024-11-01T23:59:27.427722Z",
  "created_at": "2024-10-30T23:58:27.427722Z",
  "display_color": "#6C5BB9",
  "id": "wrkspc_01JwQvzr7rXLA5AGx3HKfFUJ",
  "name": "Workspace Name",
  "type": "workspace"
}

Headers

x-api-key

string

required

Your unique Admin API key for authentication.

This key is required in the header of all Admin API requests, to authenticate your account and access Anthropic's services. Get your Admin API key through the Console .

anthropic-version

string

required

The version of the Claude API you want to use.

Read more about versioning and our version history here .

Path Parameters

workspace_id

string

required

ID of the Workspace.

Body

application/json

name

string

required

Name of the Workspace.

Required string length: 1 - 40

Response

200

application/json

Successful Response

archived_at

string<date-time> | null

required

RFC 3339 datetime string indicating when the Workspace was archived, or null if the Workspace is not archived.

Examples:

"2024-11-01T23:59:27.427722Z"

created_at

string<date-time>

required

RFC 3339 datetime string indicating when the Workspace was created.

Examples:

"2024-10-30T23:58:27.427722Z"

display_color

string

required

Hex color code representing the Workspace in the Anthropic Console.

Examples:

"#6C5BB9"

id

string

required

ID of the Workspace.

Examples:

"wrkspc_01JwQvzr7rXLA5AGx3HKfFUJ"

name

string

required

Name of the Workspace.

Examples:

"Workspace Name"

type

enum<string>

default:workspace

required

Object type.

For Workspaces, this is always "workspace".

Available options:

| Title | Const | | --- | --- | | Type | workspace |

Was this page helpful?

YesNo

List Workspaces Create Workspace

Assistant

Responses are generated using AI and may contain mistakes.