Skip to main content

revokeConnectedApp

Requires at least one of the permissions notifications:push-token:manage or settings:api:update.

Disconnect one MCP app from your account in this organization: every access and refresh token it holds for you is revoked at once. Returns the number of tokens revoked.

Errors: a failed call returns a GraphQL errors entry, not a field on the result, and data may be null or partial. Read the entry's extensions.code and message; every shape and code is in the Error reference.

Example:

mutation RevokeConnectedApp($clientId: String!) {
revokeConnectedApp(clientId: $clientId)
}

Variables:

{
"clientId": "string"
}

Response:

{
"data": {
"revokeConnectedApp": 0
}
}
revokeConnectedApp(
clientId: String!
): Int!

Arguments​

revokeConnectedApp.clientId ● String! non-null scalar​

The ID of the connected app.

Type​

Int scalar​

The Int scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.