Deletes (deprovisions) a virtual machine.
DELETE
/v1/projects/:projectId/vms/:vmIdThis operation is asynchronous and returns a pollable operation id. Poll
GET /v{version}/projects/{projectId}/operations/{operationId} using the returned
CommandId (which is a real, pollable operation id for this endpoint) until its status leaves
InProgress.
Request
Responses
- 202
- 400
- 404
- 409
The deletion request was accepted; deprovisioning continues in the background.
The request was invalid.
The project or VM was not found.
Another operation is already in progress on this VM. Poll until it clears, then retry.