Skip to main content

startCvm

POST /cvms/{cvmId}/start Starts a stopped CVM. Parameters: Returns: VMSchema — updated CVM details. Example:

stopCvm

POST /cvms/{cvmId}/stop Force-stops a CVM immediately. Parameters: Returns: VMSchema — updated CVM details.

shutdownCvm

POST /cvms/{cvmId}/shutdown Gracefully shuts down a CVM, allowing containers to stop cleanly. Parameters: Returns: VMSchema — updated CVM details.

restartCvm

POST /cvms/{cvmId}/restart Restarts a CVM. Parameters: Returns: VMSchema — updated CVM details. Example:

deleteCvm

DELETE /cvms/{cvmId} Permanently deletes a CVM and all its data. Parameters: Returns: void (HTTP 204)
This action is irreversible. All data associated with the CVM will be permanently deleted.
Example:

replicateCvm is unreleased — added after @phala/cloud v0.2.4. It will be available in a future release.

replicateCvm

POST /cvms/{cvmId}/replicate Creates a copy of an existing CVM with a new name. Parameters: Returns: Replicated CVM details. Example: