Skip to content
gist.link ↗

endHuddle

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

End the channel’s active huddle, if any. Any team member.

teams:mutation:endHuddle

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 {
endHuddle(channelId: Int!): Boolean!
}
Argument Type Required Description
channelId Int! Yes —

Boolean!.

Terminal window
curl https://teams.api.gist.link/graphql \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H 'Content-Type: application/json' \
-d @- <<'JSON'
{
"query": "mutation EndHuddle($channelId: Int!) { endHuddle(channelId: $channelId) }",
"variables": {
"channelId": 10
}
}
JSON