It doesn’t appear to be possible to tag cloud tenants via the REST API. The following returns a 404:
/api/cloud_tenants/:id/tags
It’s possible however to show the tags of a cloud tenant using:
/api/cloud_tenants/:id?attributes=tags
Am I missing something obvious? Is there another way?
There is a statement at the bottom of http://manageiq.org/docs/reference/latest/api/reference/providers which may indicate that what I am trying to achieve is not possible, but I don’t really understand why.
When managing providers of provider provider_class, Tagging and Policy management does not currently apply. So requests including the tags, policies and policy_profiles subcollections will be rejected.
Thanks,
Matt