Access Control (REST) API - Assignable Users
This section includes REST APIs for working with Access Control Assignable User tasks.
Get All Assignable Users - GET /AssignableUsers
Get details of all assignable users. Provides a list of all users to which you can assign vulnerabilities.
Usage:
GET /AssignableUsers and get details of all assignable users.
URL
/cxrestapi/auth/AssignableUsers
Method:
GET
Media Type (header):
Authorization: Bearer <access token value>
Accept: application/json;v=1.0
Parameters
None
Success Response:
Code: 200 Success
Error Response:
Code: 401 Unauthorized
Code: 403 Forbidden
Sample Response:
[
{ "id": 1, "username": "admin", "firstName": "Richard", "lastName": "Smith", "email": admin@cx.org }, { "id": 2, "username": "Reviewer", "firstName": "Randy", "lastName": "Hill", "email": reviewer@cx.org }, { "id": 3, "username": "Scanner", "firstName": "Peter", "lastName": "Todd", "email": scanner@cx.org } ]
Notes:
Retrieves a list of users for which you can assign vulnerabilities. If the request fails, it returns an error response.