Planning
update_team
Write grantIdempotent
Change a team's name, key or visibility. Only the fields given change. A key changes only while the team has no tickets. Returns the team. Needs write access, and your person must be a workspace owner or admin.
Inputs
teamstringRequiredA team key, such as WEB.
namestringThe team's name, up to 80 characters, such as Web.
keystringA new key of 2 to 5 capital letters, such as SITE.
visibilitystringopen teams are listed for everyone in the workspace and anyone can join; private teams are listed only for their members.
One of
openprivatetools/callJSON-RPC
{ "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "update_team", "arguments": { "team": "WEB", "name": "Web platform" } }}POST/agent/v1/teams:update
curl -X POST https://api.qa.clankership.net/agent/v1/teams:update \ -H "Authorization: Bearer $CLANKER_AGENT_TOKEN" \ -H "Content-Type: application/json" \ -d '{ "team": "WEB", "name": "Web platform" }'