User Management REST Endpoints

User Management
APIs for listing users, viewing a user, creating a user, modifying a user, deleting a user, listing roles, viewing a role, creating a role, modifying a role, deleting a role, listing privileges, etc
Create a new role
Method: post
Path: https://EM_HOST:EM_CONSOLE_HTTPS_PORT/em/api/roles
Create a new user
Method: post
Path: https://EM_HOST:EM_CONSOLE_HTTPS_PORT/em/api/users
Delete a role
Method: delete
Path: https://EM_HOST:EM_CONSOLE_HTTPS_PORT/em/api/roles/{roleId}
Delete a user
Method: delete
Path: https://EM_HOST:EM_CONSOLE_HTTPS_PORT/em/api/users/{userId}
Get details of a role
Method: get
Path: https://EM_HOST:EM_CONSOLE_HTTPS_PORT/em/api/roles/{roleId}
Get details of a user
Method: get
Path: https://EM_HOST:EM_CONSOLE_HTTPS_PORT/em/api/users/{userId}
Get user delete task information
Method: get
Path: https://EM_HOST:EM_CONSOLE_HTTPS_PORT/em/api/users/{userId}/deleteUserTask
List grantees of a role
Method: get
Path: https://EM_HOST:EM_CONSOLE_HTTPS_PORT/em/api/roles/{roleId}/grantees
List privileges
Method: get
Path: https://EM_HOST:EM_CONSOLE_HTTPS_PORT/em/api/privileges
List privileges granted to a role
Method: get
Path: https://EM_HOST:EM_CONSOLE_HTTPS_PORT/em/api/roles/{roleId}/privilegeGrants
List privileges granted to a user
Method: get
Path: https://EM_HOST:EM_CONSOLE_HTTPS_PORT/em/api/users/{userId}/privilegeGrants
List roles
Method: get
Path: https://EM_HOST:EM_CONSOLE_HTTPS_PORT/em/api/roles
List roles for given search details
Method: post
Path: https://EM_HOST:EM_CONSOLE_HTTPS_PORT/em/api/roles/actions/search
List roles granted to a role
Method: get
Path: https://EM_HOST:EM_CONSOLE_HTTPS_PORT/em/api/roles/{roleId}/roleGrants
List roles granted to a user
Method: get
Path: https://EM_HOST:EM_CONSOLE_HTTPS_PORT/em/api/users/{userId}/roleGrants
List secure resources of a role for a privilege
Method: get
Path: https://EM_HOST:EM_CONSOLE_HTTPS_PORT/em/api/roles/{roleId}/privilegeGrants/{privilegeName}/secureResources
List secure resources of a user for a privilege
Method: get
Path: https://EM_HOST:EM_CONSOLE_HTTPS_PORT/em/api/users/{userId}/privilegeGrants/{privilegeName}/secureResources
List users
Method: get
Path: https://EM_HOST:EM_CONSOLE_HTTPS_PORT/em/api/users
List users for given search details
Method: post
Path: https://EM_HOST:EM_CONSOLE_HTTPS_PORT/em/api/users/actions/search
Modify a role
Method: put
Path: https://EM_HOST:EM_CONSOLE_HTTPS_PORT/em/api/roles/{roleId}
Modify a user
Method: put
Path: https://EM_HOST:EM_CONSOLE_HTTPS_PORT/em/api/users/{userId}