Skip to content
Skip to Content
Coder Docs

Update prebuilds settings

PUT
/api/v2/prebuilds/settings

Authorization

CoderSessionToken
headerCoder-Session-Token<token>

Request Body

Prebuilds settings request

application/json
  1. body
reconciliation_paused?boolean

Response Body

OK

application/json
  1. response
reconciliation_paused?boolean

The samples read CODER_URL and CODER_SESSION_TOKEN: set up your environment.

curl -X PUT \	"$CODER_URL/api/v2/prebuilds/settings" \	-H "Coder-Session-Token: $CODER_SESSION_TOKEN" \	-H "Content-Type: application/json" \	-d '{  "reconciliation_paused": true}'
Example Response
{  "reconciliation_paused": true}