`POST /v1/orgs/{org}/proposals/{proposal_id}/halt` (DAWG-100).
const url = 'https://api.updawg.net/v1/orgs/example/proposals/example/halt';const options = {method: 'POST'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://api.updawg.net/v1/orgs/example/proposals/example/haltStop a rollout: the proposal goes halted and every job no host has
picked up yet is cancelled. Jobs a host already holds are not: an
agent that holds a verified job runs it, so they finish and report as
normal, and still_out says how many there are.
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Organization slug.
The prp_… id.
Responses
Section titled “Responses”Halted.
What halting or cancelling did.
object
Jobs cancelled before any host had them.
halted or failed.
Jobs a host already holds. Not cancelled: they finish and report as normal, because an agent that holds a verified job runs it.
Example generated
{ "cancelled": 1, "id": "example", "status": "example", "still_out": 1}No session.
object
Example generated
{ "detail": "example", "status": 1, "title": "example", "type": "example"}Not permitted for this role.
object
Example generated
{ "detail": "example", "status": 1, "title": "example", "type": "example"}No such proposal here.
object
Example generated
{ "detail": "example", "status": 1, "title": "example", "type": "example"}Not rolling out.
object
Example generated
{ "detail": "example", "status": 1, "title": "example", "type": "example"}The organization’s data is in another region (wrong-region, DAWG-159). detail names that region’s API; send the request there.
object
Example generated
{ "detail": "example", "status": 1, "title": "example", "type": "example"}Over the organization’s request limit. Retry-After says when to try again; RateLimit-Limit is the burst.
object
Example generated
{ "detail": "example", "status": 1, "title": "example", "type": "example"}