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.

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

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