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
invitestringRequiredAn invite's ID from list_invites, such as Iv4kQ9mLx2Pa.
rolestringRequiredA workspace role: owner, admin, member or viewer.
One of
owneradminmemberviewertools/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" }'