Skip to content
gist.link ↗

deleteApiConnection

Mutation Agent Workforce API — POST https://agentworkforce.api.gist.link/graphql

Delete an API connection; agents lose its tools immediately. Admins only.

agentworkforce:mutation:deleteApiConnection

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

type Mutation {
deleteApiConnection(uuid: ID!): Boolean!
}
Argument Type Required Description
uuid ID! Yes —

Boolean!.

Terminal window
curl https://agentworkforce.api.gist.link/graphql \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H 'Content-Type: application/json' \
-d @- <<'JSON'
{
"query": "mutation DeleteApiConnection($uuid: ID!) { deleteApiConnection(uuid: $uuid) }",
"variables": {
"uuid": "01a01234-abcd-7000-9000-0123456789ab"
}
}
JSON