NSX-T Data Center REST API

Associated URIs:

API Description API Path

Get the name and role information of the user.


This API will return the name and role information of the user
invoking this API request. This API is available for all NSX users
no matter their authentication method (Local account, VIDM, LDAP etc).
The permissions parameter of the NsxRole has been deprecated.
The request parameter root_path has been introduced for multi-tenancy
to get user's role at any path that the user desires. The response will
contain the roles_for_paths to indicate roles at various paths.
GET /policy/api/v1/aaa/user-info
GET /api/v1/aaa/user-info

Assign roles to User or Group


This API is used to assign a user/group any role(s) of choice on CSP.
It is recommended to use the new property roles_for_paths instead of
roles. When using the roles_for_paths, set the read_roles_for_paths
as true. User has union of all the roles assigned to it on a particular
path and its sub-tree. User name is dealt case-insensitively.
PATCH /policy/api/v1/orgs/{org-id}/projects/{project-id}/aaa/role-bindings

Get the name and role information of the user.


This API will return the name and role information of the user
invoking this API request on the particular project.
The permissions parameter of the NsxRole has been deprecated.
The response will contain the roles_for_paths to indicate roles
of the user at various paths .
GET /policy/api/v1/orgs/{org-id}/projects/{project-id}/aaa/user-info

Assign roles to User or Group


This API is used to assign a user/group any role(s) of choice on CSP.
It is recommended to use the new property roles_for_paths instead of
roles. When using the roles_for_paths, set the read_roles_for_paths
as true. User has union of all the roles assigned to it on a particular
path and its sub-tree. User name is dealt case-insensitively.
PATCH /policy/api/v1/orgs/{org-id}/projects/{project-id}/vpcs/{vpc-id}/aaa/role-bindings

Get the name and role information of the user.


This API will return the name and role information of the user
invoking this API request on the particular project.
The permissions parameter of the NsxRole has been deprecated.
The response will contain the roles_for_paths to indicate roles
of the user at various paths .
GET /policy/api/v1/orgs/{org-id}/projects/{project-id}/vpcs/{vpc-id}/aaa/user-info