VMware Cloud Community
kev01228
Enthusiast
Enthusiast

vRA8: Delete a VM Custom Property via REST?

Hi,
Swagger shows us an example of how to add customProperties with PATCH at the below uri, but what about deleting a property? 

Sample Code - /iaas/api/machines{id}

kev01228_0-1638553822517.png

 

Keeping with the above as an example, how could I go about deleting property additionalProp3 ?

Thanks in advance! 

Tags (2)
Reply
0 Kudos
1 Reply
AllanKjaer
Enthusiast
Enthusiast

Hi

I found this question, when I had the same problem.

After a little testing I found the solution:

{

  "customProperties": {

    "additionalProp3": null

  }

}