v1

latestOpenAPI 3.1.02026-07-26102158206.8 KB
CVMs

Batch stop CVMs

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.

post/api/v1/cvms/batch-stop

Request body

cvm_idsstring[] required

List of CVM hash IDs to stop

Response

Batch stop summary

totalinteger required

Total CVMs requested

stoppedinteger required

CVMs successfully scheduled for stop

skippedinteger required

CVMs skipped (in_progress, no vm_uuid, GPU rental managed)