Delete VM

Delete VM

Deletes a VM

Request
URI
DELETE
https://{api_host}/api/vms/{id}
COPY
Path Parameters
string
id
Required

ID of VM


Authentication
This operation uses the following authentication methods.
Responses
204

VM deleted

Operation doesn't return any data structure

400

Invalid parameters

Returns ErrorModel of type(s) application/vnd.vmware.vmw.rest-v1+json
{
    "code": 0,
    "message": "string"
}
integer As int32 As int32
code
Required

code

string
message
Required

message


401

Authentication failed

Returns ErrorModel of type(s) application/vnd.vmware.vmw.rest-v1+json
{
    "code": 0,
    "message": "string"
}
integer As int32 As int32
code
Required

code

string
message
Required

message


403

Permission denied

Returns ErrorModel of type(s) application/vnd.vmware.vmw.rest-v1+json
{
    "code": 0,
    "message": "string"
}
integer As int32 As int32
code
Required

code

string
message
Required

message


404

No such resource

Returns ErrorModel of type(s) application/vnd.vmware.vmw.rest-v1+json
{
    "code": 0,
    "message": "string"
}
integer As int32 As int32
code
Required

code

string
message
Required

message


409

Resource state conflicts

Returns ErrorModel of type(s) application/vnd.vmware.vmw.rest-v1+json
{
    "code": 0,
    "message": "string"
}
integer As int32 As int32
code
Required

code

string
message
Required

message


500

Server error

Returns ErrorModel of type(s) application/vnd.vmware.vmw.rest-v1+json
{
    "code": 0,
    "message": "string"
}
integer As int32 As int32
code
Required

code

string
message
Required

message


default

Unexpected error

Returns ErrorModel of type(s) application/vnd.vmware.vmw.rest-v1+json
{
    "code": 0,
    "message": "string"
}
integer As int32 As int32
code
Required

code

string
message
Required

message