List CP code reporting groups
GET https://{{host}}/contract-api/v1/reportingGroups
Get the IDs of the Content Provider (CP) reporting groups that you have access to along with their names. To run this operation, your user account needs the CPCode Rep Group role. To add this role, use the Identity and Access Management application.
Body
PARAM
Key | Datatype | Required | Description |
accountSwitchKey
|
string | (Optional) For customers who manage more than one account, this [runs the operation from another account](https://techdocs.akamai.com/developer/docs/manage-many-accounts-with-one-api-client). The Identity and Access Management API provides a [list of available account switch keys](https://techdocs.akamai.com/iam-api/reference/get-client-account-switch-keys). |
HEADERS
Key | Datatype | Required | Description |
Accept
|
string |
RESPONSES
status OK
[
{
"id": 12289,
"name": "mobile group"
},
{
"id": 139267,
"name": "*.example.com"
},
{
"id": 139268,
"name": "images traffic group"
},
{
"id": 7182,
"name": "support group"
},
{
"id": 13844,
"name": "Radio and Streaming"
},
{
"id": 130221,
"name": "All Mini Country sites"
}
] |
ENDPOINTS