Skip to content
gist.link ↗

updateCheckIn

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

Update a check-in’s question/schedule/active flag. Team owner only.

teams:mutation:updateCheckIn

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 {
updateCheckIn(id: Int!, input: UpdateCheckInInput!): CheckIn!
}
Argument Type Required Description
id Int! Yes —
input UpdateCheckInInput! Yes —

CheckIn! — 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 UpdateCheckIn($id: Int!, $input: UpdateCheckInInput!) { updateCheckIn(id: $id, input: $input) { id team_id question cadence weekday hour active created_at } }",
"variables": {
"id": 10,
"input": {
"question": "example",
"cadence": "example",
"weekday": 10
}
}
}
JSON