VMware Cloud Community
kseales
Contributor
Contributor

Creating Security Tags with vCD API

Has anyone been able to create security tags with the vCD API? 

If I use the Uri in this documentation (POST API-URL/network/services/securitytags/id/tag) I get a 404 error. (Security Tags )

The Uri referenced in that documentation (GET API-URL/services/securitytags/id/tag/) doesn't work to list security tags either.  After some searching here, I found that "GET API-URL/services/security/tag/scope/id" does work.  When I use the same Uri with a Post, I'm now getting a 403 error.  In the vCD logs it says:

"errorCode":125020,"details":"User is not authorized to access object universalroot-0 and feature library.tagging on node STANDALONE, please check object access scope and feature permissions for the user."

I tried using an admin account and I'm still getting the same error.  Any ideas?

Thanks!

0 Kudos
0 Replies