NSX-T Data Center REST API
Update User or Group's roles
This API is used to update a user/group any role(s) of choice.User name is dealt case-insensitively.
Request:
Method:
PUT
URI Path(s):
/policy/api/v1/aaa/role-bindings/<binding-id>
/api/v1/aaa/role-bindings/<binding-id>
/api/v1/aaa/role-bindings/<binding-id>
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
RoleBinding+
Example Request:
PUT https://<nsx-mgr>/api/v1/aaa/role-bindings/7e672b0e-f0bd-48bc-b579-9e6f1b2b3969 { "name": "[email protected]", "type": "remote_user", "roles":[ { "role": "security_engineer" } ] }Successful Response:
Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
RoleBinding+