Search the docs

Search guides, API endpoints and MCP tools.

Workspace

update_workspace

Write grantIdempotent

Change the workspace's name, slug or allowed email domains. Only the fields given change; people whose email domain is allowed join on sign-in. Returns the workspace. Needs write access, and your person must be a workspace owner or admin.

Inputs

namestring

The workspace's name, such as Acme.

slugstring

The workspace's slug in its URLs, such as acme. Links with the old one stop working.

allowedDomainsarray of strings

Email domains whose people join on sign-in, such as acme.dev. [] for none.

tools/callJSON-RPC
{  "jsonrpc": "2.0",  "id": 1,  "method": "tools/call",  "params": {    "name": "update_workspace",    "arguments": {      "name": "Acme",      "allowedDomains": [        "acme.dev"      ]    }  }}
POST/clanker/v1/workspace:update
curl -X POST https://api.clankership.com/clanker/v1/workspace:update \  -H "Authorization: Bearer $CLANKER_TOKEN" \  -H "Content-Type: application/json" \  -d '{    "name": "Acme",    "allowedDomains": [      "acme.dev"    ]  }'
The same call over the clanker HTTP API. Set CLANKER_TOKEN to a clanker OAuth access token.