Skip to main content
PUT
https://integrations.projectcor.com
/
v2
/
integrations
/
workspaces
/
{id}
curl --location --request PUT 'https://integrations.projectcor.com/v2/integrations/workspaces/TEAMS-WS-12345' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
--header 'Content-Type: application/json' \
--data '{
  "metadata": {
    "source": "MICROSOFT_TEAMS"
  },
  "name": "Marketing & Communications Team",
  "description": "Combined marketing and communications workspace"
}'
{
  "id": 5001,
  "name": "Marketing & Communications Team",
  "active": true,
  "description": "Combined marketing and communications workspace",
  "company_id": 1234,
  "created_at": "2025-01-10T14:30:00Z",
  "updated_at": "2025-01-15T10:00:00Z"
}
Updates an existing workspace in your COR instance using its external ID. Performs the same validations as creation and updates only the provided fields.
To deactivate a workspace, set active to false. This is the recommended way to “delete” a workspace since there’s no DELETE endpoint.

Path Parameters

id
string
required
External workspace ID that was used when creating the workspace

Request Body Requirements

metadata
object
required
name
string
Updated workspace name
active
boolean
Whether the workspace is active
description
string
Updated description

Known Errors

  • ZC001 — Entity is not associated (workspace with the specified external ID not found)
  • WorkspaceNotFoundError — No workspace found with the specified external ID
  • ValidationError — Missing required metadata.source field
curl --location --request PUT 'https://integrations.projectcor.com/v2/integrations/workspaces/TEAMS-WS-12345' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
--header 'Content-Type: application/json' \
--data '{
  "metadata": {
    "source": "MICROSOFT_TEAMS"
  },
  "name": "Marketing & Communications Team",
  "description": "Combined marketing and communications workspace"
}'
{
  "id": 5001,
  "name": "Marketing & Communications Team",
  "active": true,
  "description": "Combined marketing and communications workspace",
  "company_id": 1234,
  "created_at": "2025-01-10T14:30:00Z",
  "updated_at": "2025-01-15T10:00:00Z"
}