Skip to content
gist.link ↗

moveCard

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

Move a card to another column and/or position. Any team member.

teams:mutation:moveCard

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 {
moveCard(id: Int!, columnId: Int!, position: Int!): Card!
}
Argument Type Required Description
id Int! Yes —
columnId Int! Yes —
position Int! Yes —

Card! — 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 MoveCard($id: Int!, $columnId: Int!, $position: Int!) { moveCard(id: $id, columnId: $columnId, position: $position) { id title created_at updated_at } }",
"variables": {
"id": 10,
"columnId": 10,
"position": 10
}
}
JSON