listAdminProfiles

get

/ccadmin/v1/adminProfiles

List Admin Profiles. Returns a paged list of the admin user profiles in the system.

Request

Supported Media Types
  • application/json
Query Parameters
limit
Type: integer
The number of items per block
offset
Type: integer
startingIndex the index of the first item to return
sort
Type: string
Sort Option id: Sort order
totalResults
Type: boolean
flag to include total count of items

Response

Supported Media Types
  • application/json
200 Response
Following model is returned when operation succeeds.
Body
Root Schema : listAdminProfiles_response
Nested Schema : items
Type: array
list of profile items matching the query parameters
Nested Schema : items
Type: object
Nested Schema : actions
Type: array
Array of roles assigned to this profile.
Nested Schema : roles
Type: array
Array of roles assigned to this profile.
Nested Schema : items
Type: object
Example application/json

{
    "total":10999,
    "totalResults":10999,
    "offset":100,
    "limit":1,
    "items":[
        {
            "lastName":"Smith",
            "firstName":"Bob",
            "tourComplete":true,
            "roles":[
                {
                    "repositoryId":"adminRole"
                }
            ],
            "registrationDate":"2014-09-24 13:50:00",
            "active":true,
            "id":"exampleuser1122",
            "email":"bsmith@example.com"
        }
    ]
}
Default Response
The error response
Body
Root Schema : errorModel
Type: object
Nested Schema : errors
Type: array
An optional list of errors if multiple errors were encountered
Nested Schema : items
Type: object

Examples

Sample Response Payload returned by endpoint:

{
  "total": 10999,
  "totalResults": 10999,
  "offset": 100,
  "limit": 1,
  "items": [{
    "lastName": "Smith",
    "firstName": "Bob",
    "tourComplete": true,
    "roles": [{"repositoryId": "adminRole"}],
    "registrationDate": "2014-09-24 13:50:00",
    "active": true,
    "id": "exampleuser1122",
    "email": "bsmith@example.com"
  }]
}