After you create a tag, you can assign the tag to a vSphere Automation resource.
Procedure
- Construct a dynamic object identifier for the library.
The dynamic identifier includes the type and ID of the object.
- Attach the tag to the content library.
POST https://<vcenter_ip_address_or_fqdn>/api/cis/tagging/tag-association/<tag_id>?action=attach