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.

Request Params

KeyDatatypeRequiredDescription
accountSwitchKeystring(Optional) For customers who manage more than one account, this runs the operation from another account. The Identity and Access Management API provides a list of available account switch keys.

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

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"}]