MCP Gateway
ApiUser connections

Revoke a connection

Revoke (soft-delete) a connection for the authenticated user. Connections are scoped to the current API key owner. The user must re-authenticate to restore access.

DELETE
/api/v1/connections/{connection_id}

Authorization

User API Key
AuthorizationBearer <token>

User API key (mgw_usr_live_* or mgw_usr_test_*)

In: header

Path Parameters

connection_id*string
Formatuuid

Query Parameters

reason?|

Optional revocation reason

access_token?|

Response Body

application/json

curl -X DELETE "https://loading/api/v1/connections/497f6eca-6276-4993-bfeb-53cbbbba6f08"
Empty
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}