Skip to content
First requestVisit website ↗
Navigation

Disconnect a connected AI app

Owners and admins may disconnect any grant in the workspace; anyone may disconnect their own. Sets revoked_at and revoked_by; the app's next call is refused. Repeating it is harmless.

DELETE
https://api.channelautomation.com/api/workspaces/{workspaceId}/ai-connectors/grants/{grantId}

Authorization

  • BearerAuth
    HTTP Bearer (JWT)
    required

Path parameters

  • workspaceId
    string
    required
  • grantId
    string
    required
    format: uuid

Returns

200

{ success, data: { id, revoked_at, revoked_by }, already_revoked? }

403

Someone else's grant and the caller is not an owner or admin

404

No grant with that id in this workspace

503

AI_CONNECTORS_NOT_SET_UP, or unavailable

Type to search…

↑↓ navigate↵ selectEsc close