revoke_connection
Generated automatically from the published contract sources.
Build metadata: Registered in this build. Registration describes the default dispatcher in this build. It does not guarantee that a caller has the required credential or grant, that a tool is listed for that connection, or that the required service is configured.
A script calls this action over HTTPS at POST https://turnzero.ai/api/v1/actions/revoke_connection, with a bearer credential and the action's payload as the JSON body.
Contract description
End one connection by its id. Its access token and its renewal are refused at once; every other connection stands.
Access and action metadata
{
"name": "revoke_connection",
"resource": "connection",
"tier": "reversible",
"clients": [
"bearer",
"browser_session"
],
"summary": "End one connection by its id: its refresh and its access token are refused at once, and every other connection stands.",
"annotations": {
"readOnlyHint": false,
"destructiveHint": true,
"openWorldHint": false
}
}
MCP catalog entry
{
"name": "revoke_connection",
"tier": "reversible",
"summary": "End one connection by its id. Its access token and its renewal are refused at once; every other connection stands.",
"scenario": "API-L0-21",
"owners": [
"API-L0-21",
"ACS-L0-11",
"MCP-10"
]
}
request
| JSON pointer | Description and constraints |
|---|---|
| "" (root) | Type: object Required fields: ["id"] |
| / |
The connection's id, as `list_connections` gives it. Type: string |
response
| JSON pointer | Description and constraints |
|---|---|
| "" (root) | Type: object Required fields: ["contract_version","connection","detail"] Additional properties: false |
| / |
Required value: 1 |
| / |
Type: object Required fields: ["id","client_id","revoked_at","sessions_ended"] Additional properties: false |
| / |
Type: string |
| / |
Type: string |
| / |
Type: string |
| / |
How many access-token session rows of the connection were ended. Type: integer |
| / |
Type: string |
Complete payload contract
{
"request": {
"type": "object",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"description": "The connection's id, as `list_connections` gives it."
}
}
},
"response": {
"type": "object",
"required": [
"contract_version",
"connection",
"detail"
],
"properties": {
"contract_version": {
"const": 1
},
"connection": {
"type": "object",
"required": [
"id",
"client_id",
"revoked_at",
"sessions_ended"
],
"properties": {
"id": {
"type": "string"
},
"client_id": {
"type": "string"
},
"revoked_at": {
"type": "string"
},
"sessions_ended": {
"type": "integer",
"description": "How many access-token session rows of the connection were ended."
}
},
"additionalProperties": false
},
"detail": {
"type": "string"
}
},
"additionalProperties": false
}
}
Shared contracts
- Refusals: every refusal, by surface, with its cause and its remedy
- schemas/wire_error.schema.json
- schemas/wire_errors.json
- schemas/action_payloads.json (includes shared shapes)
- management_api_contract.md