After you create a tag, you can assign the tag to a vSphere Automation resource.

Procedure

  1. Construct a dynamic object identifier for the library.

    The dynamic identifier includes the type and ID of the object.

  2. Attach the tag to the content library.
    POST https://<vcenter_ip_address_or_fqdn>/api/cis/tagging/tag-association/<tag_id>?action=attach