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

POST /admin/role-activations/{id}/revoke

管理员撤销正在生效的角色激活,立即移除用户的提权权限

角色权限 `bearerAuth` application/json

Request Parameters

NameInTypeRequiredDefaultExampleConstraintsDescription
id path string Yes 激活记录ID

Request Body

Schema: dto.RevokeActivationRequest

FieldTypeRequiredExampleConstraintsDescription
reason string Yes

Responses

StatusDescriptionSchema
200撤销成功gitee_com_linmes_authms_base_dto.SimpleResponse
400请求参数无效dto.SimpleResponseWrapper

Referenced Schemas

dto.SimpleResponseWrapper

FieldTypeRequiredExampleConstraintsDescription
code integer No
message string No

gitee_com_linmes_authms_base_dto.SimpleResponse

FieldTypeRequiredExampleConstraintsDescription
code integer No
message string No
timestamp string No