updateAdminProfile

put

/ccadmin/v1/adminProfiles/{id}

Update Admin Profile. Updates a given admin user profile by id.

Request

Supported Media Types
Path Parameters
Body ()
Root Schema : updateAdminProfile_request
Type: object
Show Source
Example:
{
    "firstName":"Amber",
    "lastName":"Admin",
    "active":true,
    "email":"amber@example.com"
}
Nested Schema : roles
Type: array
Array of roles to assign to this profile.
Show Source
Back to Top

Response

Supported Media Types

200 Response

Following model is returned when operation succeeds.
Body ()
Root Schema : updateAdminProfile_response
Type: object
Show Source
Nested Schema : roles
Type: array
Array of roles assigned to this profile.
Show Source
Nested Schema : items
Type: object
Show Source
Example Response (application/json)
{
    "lastName":"Admin",
    "firstName":"Amber",
    "tourComplete":true,
    "roles":[
        {
            "repositoryId":"adminRole"
        }
    ],
    "registrationDate":"2014-09-25 14:33:49.68",
    "active":true,
    "id":"iuser260015",
    "email":"amber@example.com"
}

Default Response

The error response
Body ()
Root Schema : errorModel
Type: object
Show Source
Nested Schema : errors
Type: array
An optional list of errors if multiple errors were encountered
Show Source
Nested Schema : items
Type: object
Show Source
Back to Top