NSX-T Data Center REST API
Assign roles to User or Group
This API is used to assign a user/group any role(s) of choice.User has union of all the roles assigned to it. User name is
dealt case-insensitively.
Request:
Method:
              POST
            URI Path(s):
              
              
                  
                  /policy/api/v1/aaa/role-bindings
                  
/api/v1/aaa/role-bindings
              
            /api/v1/aaa/role-bindings
Request Headers:
                n/a
            Query Parameters:
    n/a
  Request Body:
    RoleBinding+
  Example Request:
POST https://<nsx-mgr>/api/v1/aaa/role-bindings { "name": "[email protected]", "type": "remote_user", "roles":[ { "role": "auditor" } ] }Successful Response:
Response Code:
                200 OK
              Response Headers:
                  
                  Content-type: application/json
                Response Body:
    RoleBinding+