CVMs
Restart CVM
Changed onStops and starts CVM. Use force=true to skip graceful shutdown.
post/api/v1/cvms/{cvm_id}/restart
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
Request body
Response
CVM record with restarting 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