OAuth connections

Revoke a connected agent and kill its vended API key

The kill switch for a connected agent. It marks the connection revoked and deletes the API key we vended it, so public API access stops right away. It also drops the stored consent, so the next authorize shows a real consent screen, and clears the refresh and access tokens.

Session-only. This endpoint isn't on the API-key allowlist. An organization API key gets a 403 here, whatever scopes it holds.

delete/api/oauth-connections/{id}

Request

  • Base URL: https://api.setluca.com
  • URL: https://api.setluca.com/api/oauth-connections/{id}
  • Auth: API key in cookie luca.session_token

Path parameters

idstring required

Identifier of the OAuth connection this operation targets.

Headers

Luca-API-Version'1'

The major version of the API this client was built against. Omit it and the request is served by the current major version. Any other value is refused with 400 unsupported_api_version.

Response

ok

oktrue required
idstring required
revokedAtstring required

Changes

No recorded changes to this operation across all 1 revision of this API.