Skip to main content

revokeUserClient

revokeUserClient(clientId)

DELETE /api/2.0/oauth2/clients/{clientId}/revoke

Revoke client consent

Revokes the calling user's own consent for one client and answers 200 with an empty body. It touches only the caller's grant: other users keep their consents and the client itself stays registered. Guests may call it as well as users and administrators, because it can never reach anyone else's data. The revocation is carried out by the authorization service over gRPC, so a service that reports nothing was revoked produces 400 and a service that cannot be reached produces 503. Once it succeeds the user has to authorize the client again before it can act on their behalf.

Parameters​

NameInTypeDescriptionNotes
clientIdpathStringID of the client to revoke consent for[required] [example: 6c7cf17b-1bd3-47d5-94c6-be2d3570e168] [minLength: 1]

Responses​

Status codeDescriptionTypeResponse headers
200Client consent successfully revoked--
400The client ID is blank, or the authorization service reported that the consent was not revokedProblemDetail-
403Insufficient permissions to revoke consentProblemDetail-
429Too many requests - rate limit exceededProblemDetail-
503Authorization service unavailableProblemDetail-
500Internal server error occurredProblemDetail-
405The HTTP method is not allowed for this pathProblemDetail-
406The Accept header does not allow application/jsonProblemDetail-

Return type​

null (empty response body)

Authorization​

x-signature

HTTP request headers​

  • Content-Type: Not defined
  • Accept: application/json