Search the docs

Search guides, API endpoints and MCP tools.

Workspace

update_invite

Write grantIdempotent

Change the role an open invite grants. Needs write access, and your person must be a workspace owner or admin.

Inputs

invitestringRequired

An invite's ID from list_invites, such as Iv4kQ9mLx2Pa.

rolestringRequired

A workspace role: owner, admin, member or viewer.

One ofowneradminmemberviewer
tools/callJSON-RPC
{  "jsonrpc": "2.0",  "id": 1,  "method": "tools/call",  "params": {    "name": "update_invite",    "arguments": {      "invite": "Iv4kQ9mLx2Pa",      "role": "admin"    }  }}
POST/clanker/v1/invites:update
curl -X POST https://api.clankership.com/clanker/v1/invites:update \  -H "Authorization: Bearer $CLANKER_TOKEN" \  -H "Content-Type: application/json" \  -d '{    "invite": "Iv4kQ9mLx2Pa",    "role": "admin"  }'
The same call over the clanker HTTP API. Set CLANKER_TOKEN to a clanker OAuth access token.