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: postPath:
https://EM_HOST:EM_CONSOLE_HTTPS_PORT/em/api/roles
- Create a new user
- Method: postPath:
https://EM_HOST:EM_CONSOLE_HTTPS_PORT/em/api/users
- Delete a role
- Method: deletePath:
https://EM_HOST:EM_CONSOLE_HTTPS_PORT/em/api/roles/{roleId}
- Delete a user
- Method: deletePath:
https://EM_HOST:EM_CONSOLE_HTTPS_PORT/em/api/users/{userId}
- Get details of a role
- Method: getPath:
https://EM_HOST:EM_CONSOLE_HTTPS_PORT/em/api/roles/{roleId}
- Get details of a user
- Method: getPath:
https://EM_HOST:EM_CONSOLE_HTTPS_PORT/em/api/users/{userId}
- Get user delete task information
- Method: getPath:
https://EM_HOST:EM_CONSOLE_HTTPS_PORT/em/api/users/{userId}/deleteUserTask
- List grantees of a role
- Method: getPath:
https://EM_HOST:EM_CONSOLE_HTTPS_PORT/em/api/roles/{roleId}/grantees
- List privileges
- Method: getPath:
https://EM_HOST:EM_CONSOLE_HTTPS_PORT/em/api/privileges
- List privileges granted to a role
- Method: getPath:
https://EM_HOST:EM_CONSOLE_HTTPS_PORT/em/api/roles/{roleId}/privilegeGrants
- List privileges granted to a user
- Method: getPath:
https://EM_HOST:EM_CONSOLE_HTTPS_PORT/em/api/users/{userId}/privilegeGrants
- List roles
- Method: getPath:
https://EM_HOST:EM_CONSOLE_HTTPS_PORT/em/api/roles
- List roles for given search details
- Method: postPath:
https://EM_HOST:EM_CONSOLE_HTTPS_PORT/em/api/roles/actions/search
- List roles granted to a role
- Method: getPath:
https://EM_HOST:EM_CONSOLE_HTTPS_PORT/em/api/roles/{roleId}/roleGrants
- List roles granted to a user
- Method: getPath:
https://EM_HOST:EM_CONSOLE_HTTPS_PORT/em/api/users/{userId}/roleGrants
- List secure resources of a role for a privilege
- Method: getPath:
https://EM_HOST:EM_CONSOLE_HTTPS_PORT/em/api/roles/{roleId}/privilegeGrants/{privilegeName}/secureResources
- List secure resources of a user for a privilege
- Method: getPath:
https://EM_HOST:EM_CONSOLE_HTTPS_PORT/em/api/users/{userId}/privilegeGrants/{privilegeName}/secureResources
- List users
- Method: getPath:
https://EM_HOST:EM_CONSOLE_HTTPS_PORT/em/api/users
- List users for given search details
- Method: postPath:
https://EM_HOST:EM_CONSOLE_HTTPS_PORT/em/api/users/actions/search
- Modify a role
- Method: putPath:
https://EM_HOST:EM_CONSOLE_HTTPS_PORT/em/api/roles/{roleId}
- Modify a user
- Method: putPath:
https://EM_HOST:EM_CONSOLE_HTTPS_PORT/em/api/users/{userId}