Docs menu

API reference

sites.retry

Retry building a Site

POST/api/v1/sites/{siteId}/retry

Needs the site:create permission. As an MCP tool it is named sites.retry.

Details

Start building a Site again after its build failed, and return the new Job. The Job reuses everything the earlier attempt created in the Cloudflare account (database, media bucket, session store, Worker, Claim token) and continues from there; it never takes over a resource WoFlare did not create. Only for a Site whose status is failed; CONFLICT otherwise. Audited.

Input

FieldTypeNotes
siteIdrequiredstring1 to 64 characters

Output

FieldTypeNotes
siteIdrequiredstring
jobIdrequiredstring

All Operations