getCurrentAdminProfile

get

/ccadmin/v1/adminProfiles/current

Get Current Admin Profile. Get the current profile information.

Request

Supported Media Types
Query Parameters
  • Expand query param: comma separated values that can be used to expand profile's roles and access rights information. Possible values for this query parameter are 'roles' and 'accessRights'
    Allowed Values: [ "roles", "accessRights" ]
  • If we want allowed actions for user, then pass true for this variable
Back to Top

Response

Supported Media Types

200 Response

Following model is returned when operation succeeds.
Body ()
Root Schema : getCurrentAdminProfile_response
Type: object
Show Source
Nested Schema : actions
Type: array
Array of roles assigned to this profile.
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",
    "external":false,
    "tourComplete":true,
    "createdBy":"admin",
    "roles":[
        {
            "repositoryId":"adminRole"
        }
    ],
    "repositoryId":"iuser260015",
    "registrationDate":"2014-09-24T12:00:00.000Z",
    "active":true,
    "id":"iuser260015",
    "rolesLastModified":"2021-02-22T12:00:00.000Z",
    "email":"admin@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