API operation · jobs group
POST
/jobs/{id}/dismiss
First published 14 Oct 2026
0.2.0Unchanged since publicationDismiss a failed job
Who may call it
AdministratorResellerCustomer
Token scope, any of
allAnswers200 OK
The operation accepts only failed jobs and requires a token with the all scope. Anyone with access to a job through GET /jobs/{id} can dismiss it. The API returns 404 if the job does not exist and 403 if the caller lacks access to it.
The API returns the job with dismissed_at set, and the web interface stops counting it as needing attention. The job stays in the list with its result and log until it expires under jobs.keep_days. Repeating the dismissal leaves the job unchanged.
As a command
Run as root on the serverParameters
idpath ·integer, 1 or moreRequiredExample
See the API overview for how to set $API and $TOKEN.Request
curl -sS -X POST "$API/jobs/1/dismiss" \ -H "Authorization: Bearer $TOKEN"
Response ·
200 OK{
"job": {
"created_at": "2026-09-09T10:15:00Z",
"created_by": 1,
"created_by_name": "text",
"dismissed_at": "text",
"finished_at": "2026-09-09T10:15:04Z",
"id": 1,
"lane": "short",
"log": "",
"params": {},
"progress": 100,
"result": {},
"started_at": "2026-09-09T10:15:01Z",
"status": "queued",
"type": "rebuild",
"usual_seconds": 1
}
}Errors
6 errors, each a status and a sentence400--id is required400Invalid id401Authentication required403Insufficient privileges404Job <id> not found409Job <id> did not fail: only a failed job is dismissedNo error of this operation matches.
Generated from release 0.2.35 (current) · the API’s own descriptionThis entry has been unchanged since it was first published in release 0.2.0 on 14 Oct 2026.
urbestack.com/docs/api/post-jobs-id-dismiss/