Skip to content
gist.link ↗

moveColumn

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

Move a column to a new position among its siblings. Any team member.

teams:mutation:moveColumn

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 {
moveColumn(id: Int!, position: Int!): BoardColumn!
}
Argument Type Required Description
id Int! Yes —
position Int! 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 MoveColumn($id: Int!, $position: Int!) { moveColumn(id: $id, position: $position) { id board_id name position } }",
"variables": {
"id": 10,
"position": 10
}
}
JSON