Autional Autional
API Reference GitHub autional.com →

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

Admin: revoke an active role activation, immediately removing the user's elevated permissions

Role Permissions `bearerAuth` application/json

Request Parameters

NameInTypeRequiredDefaultExampleConstraintsDescription
id path string Yes Activation record ID

Request Body

Schema: dto.RevokeActivationRequest

FieldTypeRequiredExampleConstraintsDescription
reason string Yes

Responses

StatusDescriptionSchema
200Revoked successfullygitee_com_linmes_authms_base_dto.SimpleResponse
400Invalid request parametersdto.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