DELETE /oauth/consents/{id}

Revokes an authorization consent record for a specific OAuth client for the current user. After revocation, the client's access tokens become invalid.

OAuth `bearerAuth` application/json

Request Parameters

NameInTypeRequiredDefaultExampleConstraintsDescription
id path string Yes Consent record ID

Responses

StatusDescriptionSchema
200Revocation successfulgitee_com_autional_base_dto.SimpleResponse
401Unauthenticated: provide a valid Bearer Tokengitee_com_autional_base_dto.SimpleResponse
404Consent record not foundgitee_com_autional_base_dto.SimpleResponse
500Internal server errorgitee_com_autional_base_dto.SimpleResponse

Referenced Schemas

gitee_com_autional_base_dto.SimpleResponse

FieldTypeRequiredExampleConstraintsDescription
code integer No
message string No
timestamp string No