Skip to content

Clear failed jobs

DELETE
/api/v1/admin/jobs/{kind}/failed
curl --request DELETE \
--url https://example.com/api/v1/admin/jobs/example/failed \
--header 'Authorization: Bearer <token>'

Clears the failed jobs. It requires a signed-in User with the admin scope and the admin or owner Role. It can return 401 if the session is missing or expired, 403 if access is denied, 404 if the requested item does not exist and 503 if the service is temporarily unavailable. Route: /api/v1/admin/jobs/{kind}/failed. Inputs: kind. A recent account assertion is required. Do not automatically replay this operation after an uncertain result.

kind
required
string
Media typeapplication/json
object
affected
required
integer format: int64
outcome
string | null
Examplegenerated
{
"affected": 1,
"outcome": "example"
}