VMware Cloud Community
msk05
Hot Shot
Hot Shot
Jump to solution

Delete disk API

I am trying to delete an existing hard disk of a VM as Day 2 operation through API but couldn't find a way to do it.

I can increase the existing disk capacity, added new disk to a VM through API but not sure what is the API request for deleting a hard disk.

Any help would be appreciated.

Reply
0 Kudos
1 Solution

Accepted Solutions
msk05
Hot Shot
Hot Shot
Jump to solution

Removing the disk array which needs to be deleted from the virtual machine API template did the job.

View solution in original post

Reply
0 Kudos
1 Reply
msk05
Hot Shot
Hot Shot
Jump to solution

Removing the disk array which needs to be deleted from the virtual machine API template did the job.

Reply
0 Kudos