DELETE /admin/oauth/clients/{client_id}/tokens
Revokes all active tokens for a specified client, with an optional grace period (in seconds).
OAuth Client Management `bearerAuth` application/json
Request Parameters
| Name | In | Type | Required | Default | Example | Constraints | Description |
client_id |
path |
string |
Yes |
|
|
|
Client ID |
grace_period |
query |
integer |
No |
|
|
|
Grace period (seconds) |
Referenced Schemas
dto.RevokeClientTokensDetailResponse
dto.RevokeClientTokensResponse
Result of revoking all tokens for a client
| Field | Type | Required | Example | Constraints | Description |
grace_period |
integer |
No |
3600 |
|
|
revoked_access_tokens |
integer |
No |
10 |
|
|
revoked_refresh_tokens |
integer |
No |
5 |
|
|
gitee_com_linmes_authms_base_dto.SimpleResponse
| Field | Type | Required | Example | Constraints | Description |
code |
integer |
No |
|
|
|
message |
string |
No |
|
|
|
timestamp |
string |
No |
|
|
|