← All docs

tag

tag

Add or remove a tag on a VM

Usage

tag [-d] <vm> <tag-name>

Options

  • --d: delete tag
  • --json: output in JSON format

Examples

tag my-vm prod        # add tag
tag -d my-vm prod     # remove tag