CVMs
Shutdown CVM
Changed onGracefully shuts down CVM (SIGTERM then SIGKILL after timeout). Triggers billing.
post/api/v1/cvms/{cvm_id}/shutdown
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 shutting_down 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
- breaking