A AuthMS API Wiki API Reference iam.tianv.com →

DELETE /oauth/consents/{id}

撤销当前用户对特定 OAuth 客户端的一条授权同意记录,撤销后该客户端的访问令牌将失效。

OAuth `bearerAuth` application/json

Request Parameters

NameInTypeRequiredDefaultExampleConstraintsDescription
id path string Yes 同意记录ID

Responses

StatusDescriptionSchema
200撤销成功gitee_com_linmes_authms_base_dto.SimpleResponse
401未认证:请提供有效的 Bearer Tokengitee_com_linmes_authms_base_dto.SimpleResponse
404同意记录不存在gitee_com_linmes_authms_base_dto.SimpleResponse
500服务内部错误gitee_com_linmes_authms_base_dto.SimpleResponse

Referenced Schemas

gitee_com_linmes_authms_base_dto.SimpleResponse

FieldTypeRequiredExampleConstraintsDescription
code integer No
message string No
timestamp string No