Skip to main content
POST /validate/twins/provision/{run_id}/teardown
Cancels the run and queues environment cleanup immediately. The run must be in ready, provisioning, or queued status. Path parameters
FieldTypeDescription
run_idstringProvisioning run id returned from POST /validate/twins/provision.
Response
{"status": "cleaning_up", "run_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890"}
Errors
StatusDescription
400run_id is not a valid UUID, or the run is not in a state that can be torn down.
404No run with that id exists for the authenticated user.