updateCurrentAdminProfile

put

/ccadmin/v1/adminProfiles/current

Update Current Admin Profile. Updates the currently logged in admin user profile.

Request

Supported Media Types
  • application/json
Body Parameter
Root Schema : updateCurrentAdminProfile_request

Response

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

{
    "lastName":"Admin",
    "firstName":"Amber",
    "tourComplete":true,
    "roles":[
        "adminRole"
    ],
    "id":"iuser260015",
    "email":"amber@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 Request:

{
  "firstName": "Amber",
  "lastName": "Admin",
  "email": "amber@example.com"
}

Sample Response Payload returned by endpoint:

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