Skip to content
gist.link ↗

deleteConnection

Mutation Automate API — POST https://automate.api.gist.link/graphql

Remove a saved connection. Authenticated org member.

automate:mutation:deleteConnection

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

type Mutation {
deleteConnection(id: String!): Boolean!
}
Argument Type Required Description
id String! Yes —

Boolean!.

Terminal window
curl https://automate.api.gist.link/graphql \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H 'Content-Type: application/json' \
-d @- <<'JSON'
{
"query": "mutation DeleteConnection($id: String!) { deleteConnection(id: $id) }",
"variables": {
"id": "example"
}
}
JSON