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 itemsResponse
Supported Media Types- application/json
200 ResponseFollowing model is returned when operation succeeds.BodyRoot Schema : listAdminProfiles_response- items
-
Type:
array
itemsAdditional Properties Allowed:list of profile items matching the query parameters
Nested Schema : itemsNested Schema : itemsType:object
- actions
-
Type:
array
actionsAdditional Properties Allowed:Array of roles assigned to this profile. - active
-
Type:
boolean
True if the user is active; false if the user is deactivated. -
Type:
string
Email address and login name of the profile. - firstName
-
Type:
string
First name of the profile. - id
-
Type:
string
ID of this profile. - lastName
-
Type:
string
Last name of user. - registrationDate
-
Type:
string
User's registration date. - roles
-
Type:
array
rolesAdditional Properties Allowed:Array of roles assigned to this profile. - tourComplete
-
Type:
boolean
True if the user has completed the walk-through tour of the admin product.
Nested Schema : actionsNested Schema : rolesNested Schema : itemsType:object
- repositoryId
-
Type:
string
Repository ID of role.
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 ResponseThe error responseBodyRoot Schema : errorModelType:object
- devMessage
-
Type:
string
An optional non-localized message containing technical information for developers - errorCode
-
Type:
string
The numerical code identifying the error - errors
-
Type:
array
errorsAdditional Properties Allowed:An optional list of errors if multiple errors were encountered - message
-
Type:
string
The localized message describing the error - moreInfo
-
Type:
string
An optional non-localized message with more information - o:errorPath
-
Type:
string
An optional machine readable description of where the error occurred - status
-
Type:
string
The HTTP status code - type
-
Type:
string
The URI to the HTTP state code definition
Nested Schema : errorsNested Schema : itemsType:object
- devMessage
-
Type:
string
An optional non-localized message containing technical information for developers - errorCode
-
Type:
string
The numerical code identifying the error - message
-
Type:
string
The localized message describing the error - moreInfo
-
Type:
string
An optional non-localized message with more information - o:errorPath
-
Type:
string
An optional machine readable description of where the error occurred - status
-
Type:
string
The HTTP status code
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" }] }