Logo
Akamai APIs API Documentation

List permission groups

GET https://{{host}}/edgeworkers/v1/groups

View a list of groups and the associated permission capabilities, for example: activate a version or fetch an EdgeWorker ID.

 

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

{ "groups": [ { "capabilities": [ "VIEW", "VIEW_VERSION", "VIEW_ACTIVATION", "ACTIVATE" ], "groupId": 12345, "groupName": "Group #42" }, { "capabilities": [ "VIEW", "EDIT", "VIEW_VERSION", "CREATE_VERSION", "VIEW_ACTIVATION", "ACTIVATE" ], "groupId": 32145, "groupName": "ESSL Behavior Tests" } ] }



Curl
curl -X GET 'https://host/edgeworkers/v1/groups?accountSwitchKey=' -H 'Accept: application/json'

ENDPOINTS