View EdgeWorker permissions with the API

See a list of groups and the associated permission capabilities.

Before you begin

To complete this task, you’ll need an API client with EdgeWorkers credentials.
Find out which permissions EdgeWorkers functions have within the Control Center group.

How to

  1. Enter this command to see a list of groups and the associated permission capabilities.
    GET /edgeworkers/v1/groups
    {
        "groups": [
            {
                "groupId": 4284,
                "groupName": "Group #42",
                "capabilities": [
                    "VIEW",
                    "VIEW_VERSION",
                    "VIEW_ACTIVATION",
                    "ACTIVATE"
                ]
            },
            {
                "groupId": 109795,
                "groupName": "ESSL Behavior Tests",
                "capabilities": [
                    "VIEW",
                    "EDIT",
                    "VIEW_VERSION",
                    "CREATE_VERSION",
                    "VIEW_ACTIVATION",
                    "ACTIVATE"
                ]
            }
        ]
    }
  2. Select a groupId from the response object, then issue a GET request.
    GET /edgeworkers/v1/ids{?groupId}
    Look at the response object for details on the capabilities enabled within a specified group.
    {
        "groupId": 109795,
        "groupName": "ESSL Behavior Tests",
        "capabilities": [
            "VIEW",
            "VIEW_VERSION",
            "VIEW_ACTIVATION"
        ]
    }