router/api-router.go:336。controller.CreateLogCleanupSystemTask,controller/system_task.go:14。ops:write。同时需要满足接口的角色和业务要求。Authorization: Bearer ********************curl --location --request POST '/api/system-task/log-cleanup?target_timestamp=' \
--header 'Authorization: Bearer <token>'{
"success": true,
"message": "string",
"data": {
"id": 0,
"task_id": "string",
"type": "string",
"status": "string",
"active_key": "string",
"payload": null,
"state": null,
"result": null,
"error": "string",
"locked_by": "string",
"created_at": 0,
"updated_at": 0,
"property1": "string",
"property2": "string"
},
"property1": "string",
"property2": "string"
}