oauth_clients
Disable OAuth client
Switch a client off: status disabled, its grants and the installation tokens it issued revoked at once (result.revoked_sessions_count), the flow refuses it until enable_oauth_client. The reversible cut; delete_oauth_client is the final one. Idempotent: already_disabled true the second time.
Contract:
- MCP tool disable_oauth_client, registry package mcp.id/oauth_clients, mount id.access.
- Operation action, response envelope action.
- Flags: dangerous: the MCP layer gates it behind a preview/commit token, and the effect cannot be undone through this API.
post/api/oauth-clients/{sid}/disable
Request
- Base URLhttps://beta.getsales.io/id/v1
- AuthHTTP bearer and API key in header Team-SID
Path parameters
sidstring required
OAuth client sid (id_oc_...).
Response
action success envelope.
Changes
No recorded changes to this operation across all 1 revision of this API.