AlphaAlpha Docs

Clean up old completed jobs

Removes completed, failed, or canceled jobs older than specified days

DELETE
/queue-jobs/cleanup
AuthorizationBearer <token>

In: header

Query Parameters

olderThanDays?integer
Default7
Formatint64

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X DELETE "http://localhost:18080/api/v1/queue-jobs/cleanup"
0
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}