NSX-T Data Center REST API

VirtualMachineTagUpdate (type)

{
  "additionalProperties": false,
  "id": "VirtualMachineTagUpdate",
  "module_id": "Inventory",
  "properties": {
    "external_id": {
      "required": true,
      "title": "External id of the virtual machine to which tags are to be applied",
      "type": "string"
    },
    "tags": {
      "help_detail": "The list includes both user defined and system defined tags.",
      "items": {
        "$ref": "Tag"
      },
      "required": true,
      "title": "List of tags to be applied to the virtual machine",
      "type": "array"
    }
  },
  "type": "object"
}