curl -X PATCH 'https://api.example.com/workspaces/workspace_main' \
-H 'Authorization: Bearer YOUR_TOKEN' \
-H 'Content-Type: application/json' \
-d '{
"name": "Main Engineering"
}'
{
"id": "workspace_main",
"tenantId": "tenant_acme",
"scopeId": "scope_workspace_main",
"name": "Main Engineering"
}
Update a workspace
curl -X PATCH 'https://api.example.com/workspaces/workspace_main' \
-H 'Authorization: Bearer YOUR_TOKEN' \
-H 'Content-Type: application/json' \
-d '{
"name": "Main Engineering"
}'
{
"id": "workspace_main",
"tenantId": "tenant_acme",
"scopeId": "scope_workspace_main",
"name": "Main Engineering"
}
curl -X PATCH 'https://api.example.com/workspaces/workspace_main' \
-H 'Authorization: Bearer YOUR_TOKEN' \
-H 'Content-Type: application/json' \
-d '{
"name": "Main Engineering"
}'
{
"id": "workspace_main",
"tenantId": "tenant_acme",
"scopeId": "scope_workspace_main",
"name": "Main Engineering"
}
Was this page helpful?