Delete OAuth client
oauth_clients
Delete OAuth client
Destructive. Soft-delete the client (sets deleted_at) and cascade-revoke every issued oauth session and grant, disconnecting all agents connected through this app immediately. The public OAuth flow rejects a soft-deleted client. Idempotent: re-deleting → already_deleted. The client’s sessions survive as revoked-not-deleted (retained).
Contract:
- MCP tool
delete_oauth_client, registry packagemcp.id/oauth_clients, mountid.access. - Operation
delete, response envelopedelete_simple. - Flags: dangerous: the MCP layer gates it behind a preview/commit token, and the effect cannot be undone through this API.
DELETE
Delete OAuth client
Authorizations
Access token issued by gtm.service.id. Its access_identity claim carries team_sid, actor_sid and actor_type, and that team scope is authoritative.
Team scope for tokens that do not carry one. Ignored when the token already names a team.
Path Parameters
Path segment {sid}.
Required string length:
18Pattern:
^id_oc_