rwk1982
Enthusiast
Enthusiast

vRA 8.8 - Tag Managment over Api

Hello!

Just in Case someone is looking for Tag Managment over the Api: it does not exists. There is the entry Point "/iaas/api/tags" which only accepts the GET Method at the Moment.

But creating new Tags can be done with the PATCH Method on a Object (for Example on a vSphere Network):
URI: /iaas/api/fabric-networks-vsphere/{id}
Method: PATCH
Body: {"tags": [{"key": "your_new_tag_name","value": "your_new_tag_value"}]}

Removing all Tags from on Object (again from a vSphere Network):
URI: /iaas/api/fabric-networks-vsphere/{id}
Method: PATCH
Body: {"tags": []}

The Remove will not delete the Tags from vRA and there is no Way to delete them over the Api.

Drink coffee.. Do stupid things faster with more energy...
0 Replies