Skip to content
gist.link ↗

renameColumn

Mutation Teams API — POST https://teams.api.gist.link/graphql

Rename a column. Any team member.

teams:mutation:renameColumn

The calling IAM key must hold this permission (or a wildcard that covers it: teams:mutation:* or teams:*) and the access token must have been minted with audience=teams. See Permissions.

type Mutation {
renameColumn(id: Int!, name: String!): BoardColumn!
}
Argument Type Required Description
id Int! Yes —
name String! Yes —

BoardColumn! — see the Teams types reference.

Terminal window
curl https://teams.api.gist.link/graphql \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H 'Content-Type: application/json' \
-d @- <<'JSON'
{
"query": "mutation RenameColumn($id: Int!, $name: String!) { renameColumn(id: $id, name: $name) { id board_id name position } }",
"variables": {
"id": 10,
"name": "Example"
}
}
JSON