latestSwagger 2.02026-08-1095121164.0 KB
94758829689e
sites
Rebuild Environment Code
Rebuilds environment code by creating a sync_code_with_build workflow. This is an advanced troubleshooting operation.
post/v0/sites/{site_id}/environments/{env_id}/code/rebuild
Path parameters
site_idstring required
Site UUID
env_idstring required
Environment ID
Response
Example response
{
"active_description": "Starting workflow",
"created_at": 1234567890,
"id": "12345678-90ab-cdef-1234-567890abcdef",
"number_of_tasks": 5,
"type": "add_site_user_membership"
}