Redeploy a relay zone
Runs the deploy of the relays of the zone again, one relay at a time, the relay that holds the address of the zone last. A relay that fails stops the redeploy. The zone must be running or failed, and each relay must reach the console by its host name (409). A completed redeploy sets a failed zone to running. With rotate_enroll_key, the zone gets a new enroll key when the workflow starts, and the enroll routes answer 410 for each enroll command of the zone from before. When a relay does not reach the console then, the answer is 202 and the workflow fails: the zone has the new key and needs a redeploy.
/api/v1/relay-zones/{id}/redeploytse_sessionAPI key · cookierequiredidstringrequiredapplication/jsonrotate_enroll_keybooleantrue: the zone gets a new enroll key, and the redeploy gives it to each relay. An enroll command of the zone from before the change no longer works. Use it when a copy of the enroll key may have leaked.
Accepted
workflow_idstringrequiredError
codestringStable code of the refusal, when the route has codes
detailsstring[]Additional detail, e.g. per-field validation failures
errorstringrequiredHuman-readable error message