Logo
Akamai APIs API Documentation

List agent groups

GET https://{{host}}/sla-api/v1/agent-groups

This returns an array of all agent group identifiers and their corresponding descriptions. You can use this to retrieve a human-readable equivalent of the agentGroupId numbers.

 

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

[ { "agentGroupId": 1, "name": "Australia SLA" }, { "agentGroupId": 5, "name": "North American SLA" } ]



Curl
curl -X GET 'https://undefined/sla-api/v1/agent-groups?accountSwitchKey=' -H 'Accept: application/json'

ENDPOINTS