Update the Tenancy for a Security Group
To set the tenancy level for an NSX security object, you pass the security object to its API with a tenant ID specified. To do this efficiently, you use the API to retrieve the object, alter its JSON, then pass the edited JSON back to the API.
This use case example updates
the tenant ID for a security group, but the same procedure applies to security
tags and security policies using similar APIs such as:
- /network-service/api/security-tags/{id}
- /network-service/api/security-policies/{id}
Prerequisites
- Log in to vRealize Automation as a system administrator or a tenant administrator.
- Verify that the appliance name and fully qualified domain name of the vRealize Automation instance are available.
- Verify that you have a valid HTTP bearer token that matches your login credentials. See REST API Authentication.