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

GET /compliance/cleanup-records

查询数据清理(过期数据删除)的历史记录

合规管理 - 数据清理 `bearerAuth` application/json

Request Parameters

NameInTypeRequiredDefaultExampleConstraintsDescription
page query integer No page number
page_size query integer No page size
sort_by query string No sort field
sort_order query string No sort order

Responses

StatusDescriptionSchema
200successdto.CleanupRecordListResponse
400bad requestdto.ErrorResponse

Referenced Schemas

dto.CleanupRecordListResponse

FieldTypeRequiredExampleConstraintsDescription
code integer No
items array of

See dto.CleanupRecordResponse

No 统一使用 items
message string No
pagination object No 分页信息(嵌套对象)
timestamp string No
total integer No 总条数(平铺,便于直接读取)

dto.CleanupRecordResponse

FieldTypeRequiredExampleConstraintsDescription
created_at string No 2026-05-01T10:00:00Z
date_range string No 2024-01-01 to 2025-12-31
id string No 01JQ...
operator_id string No usr_admin_001
reason string No Retention policy expired
records_count integer No 1500

dto.ErrorResponse

FieldTypeRequiredExampleConstraintsDescription
code integer No 400
message string No invalid request

gitee_com_linmes_authms_base_dto.PageInfo

FieldTypeRequiredExampleConstraintsDescription
has_next boolean No HasNext indicates whether there is a next page
has_prev boolean No HasPrev indicates whether there is a previous page
page integer No Page is the current page number (1-based)
page_size integer No PageSize is the number of items per page
total integer No Total is the total number of items across all pages
total_pages integer No TotalPages is the total number of pages