createAdminProfile

post

/ccadmin/v1/adminProfiles/

Create Admin Profile. Creates a new admin user profile.

Request

Supported Media Types
  • application/json
Body Parameter
Root Schema : createAdminProfile_request
Nested Schema : roles
Type: array
Array of roles assigned to this profile.
Nested Schema : items
Type: object

Response

Supported Media Types
  • application/json
200 Response
Following model is returned when operation succeeds.
Body
Root Schema : createAdminProfile_response
Example application/json

{
    "id":"iuser10060"
}
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 Request:

{
  "firstName": "Amber",
  "lastName": "Admin",
  "roles": ["adminRole"],
  "active": true,
  "email": "amber@example.com"
}

Sample Response Payload returned by endpoint:

{"id": "iuser10060"}