Skip to content

Delete OAuth2 client

Request

Deprovision an OAuth2 client (RFC 7592 Section 2.3). Authenticate with the registration_access_token as a Bearer token. Deleting a client also invalidates all of its tokens and pending authorization codes.

Security
RegistrationAccessToken
Path
clientIdstringrequired

The client identifier issued at registration.

Examples:
Client ID
client_1a2b3c4d5e6f7a8b9c0d1e2f3a4b5c6d
curl -i -X DELETE \
  https://cafe.redocly.com/_mock/openapi/cafe/oauth2/register/client_1a2b3c4d5e6f7a8b9c0d1e2f3a4b5c6d \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'

Responses

Client registration deleted.

Response
No content