Force stop multiple CVMs at once. Non-admin users can only stop CVMs in their current workspace. Admin users can stop any CVM. Max 50 per request.
cURL
curl --request POST \ --url https://cloud-api.phala.com/api/v1/cvms/batch-stop \ --header 'Content-Type: application/json' \ --data ' { "cvm_ids": [ "<string>" ] } '
{ "total": 123, "stopped": 123, "skipped": 123, "errors": [ { "cvm_id": "<string>", "error": "<string>" } ] }
Request to batch stop multiple CVMs.
List of CVM hash IDs to stop
50
Batch stop summary
Summary of batch stop operation.
Total CVMs requested
CVMs successfully scheduled for stop
CVMs skipped (in_progress, no vm_uuid, GPU rental managed)
CVMs that failed to stop
Show child attributes
Was this page helpful?