CVMs
Force stop CVM
Changed onImmediately stops CVM (like pulling power). Cancels any in-progress operation. Triggers billing.
post/api/v1/cvms/{cvm_id}/stop
Request
- Base URLhttps://cloud-api.phala.com
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
cvm_idstring required
Response
CVM record with stopping status
Example response
{
"id": "cvm_0123abcd",
"user_id": "usr_0123abcd"
}Changes
- breaking
response property
idlist-of-types was widened by adding typesstringto media typeapplication/jsonof response200 - breaking
response property
user_idlist-of-types was widened by adding typesstringto media typeapplication/jsonof response200 - info
added the non-success response with the status
- breaking