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

POST /internal/pim/cleanup-expired

内部API:清理指定租户或当前租户的过期角色激活记录。生产环境禁止外部调用。

角色权限 None application/json

Request Body

Accepts an empty JSON object {}

Responses

StatusDescriptionSchema
200清理成功gitee_com_linmes_authms_base_dto.DataResponse-dto_CleanupExpiredResponse
400请求参数无效或禁止访问dto.SimpleResponseWrapper

Referenced Schemas

dto.CleanupExpiredResponse

FieldTypeRequiredExampleConstraintsDescription
expired_count integer No
message string No

dto.SimpleResponseWrapper

FieldTypeRequiredExampleConstraintsDescription
code integer No
message string No

gitee_com_linmes_authms_base_dto.DataResponse-dto_CleanupExpiredResponse

FieldTypeRequiredExampleConstraintsDescription
code integer No
data dto.CleanupExpiredResponse No
message string No
timestamp string No