Update Workspace
/v1/organizations/workspaces/{workspace_id}
Update Workspace
Path Parameters
workspace_id: string
ID of the Workspace.
Body Parameters
name: string
Name of the Workspace.
maxLength40
minLength1
Returns
Update Workspace
cURL
curl https://api.anthropic.com/v1/organizations/workspaces/$WORKSPACE_ID \
-H 'Content-Type: application/json' \
-H "X-Api-Key: $ANTHROPIC_ADMIN_API_KEY" \
-d '{
"name": "x"
}'{
"id": "wrkspc_01JwQvzr7rXLA5AGx3HKfFUJ",
"archived_at": "2024-11-01T23:59:27.427722Z",
"created_at": "2024-10-30T23:58:27.427722Z",
"display_color": "#6C5BB9",
"name": "Workspace Name",
"type": "workspace"
}Returns Examples
{
"id": "wrkspc_01JwQvzr7rXLA5AGx3HKfFUJ",
"archived_at": "2024-11-01T23:59:27.427722Z",
"created_at": "2024-10-30T23:58:27.427722Z",
"display_color": "#6C5BB9",
"name": "Workspace Name",
"type": "workspace"
}