Skip to content
Kapten
Esc
↑↓navigate↵open⌘Jpreview

Revoke an OAuth application

Requires organization:update, and organization:delete when the application holds a Role that grants it. The application gets no new token and loses its Roles; tokens already issued expire on their own. Revoking cannot be undone.

DELETE/organizations/{organizationId}/oauth-clients/{clientId}
Authorization
AuthorizationBearer token (JWT) · headerrequired

An access token issued by this service (RFC 9068), in the Authorization header as Bearer <token>.

Path parameters
organizationIdstring<uuid>required
clientIdstring<uuid>required

The client's id, the uuid in its cli_<id> client_id.

Responses
204

The client is revoked.

default

The request failed.

errorstringrequired

Stable machine-readable code.

Allowed:invalid_requestunauthorizedforbiddennot_foundconflictgoneunavailableinternal
messagestringrequired

Human-readable explanation.

Request
curl -X DELETE 'https://auth.kapten.io/organizations/497f6eca-6276-4993-bfeb-53cbbbba6f08/oauth-clients/497f6eca-6276-4993-bfeb-53cbbbba6f08' \
  -H 'Authorization: Bearer YOUR_TOKEN' \
  -H 'Accept: application/json'
Response
The client is revoked.

Was this page helpful?