Example Procedure: Deleting Tags

To delete a tag from a specified resource (for example, private vNet), complete the following steps:

  1. Run the following command:

    ./iaas-delete-tags --base-url https://<localhost>/ -a ak.file --id VNET-350c9c3f-0ee5-41be-917e-ebbaed0fa4ad --tags myTag

    The command deletes the specified tag from the specified resource. The command does not return any value; only the command prompt is returned.

  2. Verify the deletion by running the iaas-describe-tags command, as in the following example:

    ./iaas-describe-tags --base-url https://<localhost>/ -a ak.file --ids VNET-350c9c3f-0ee5-41be-917e-ebbaed0fa4ad

    This command should not return the tag that was initially associated with the specified private vNet.