---
updatedAt: 2026-03-01T18:44:52.000Z
agentTools:
  siteIndex: https://techdocs.akamai.com/llms.txt
  projectIndex: https://techdocs.akamai.com/iam-api/v2/llms.txt
---

# List grantable roles

List which grantable roles you can include in a new custom role or add to an existing custom role.

# OpenAPI definition

```json
{
  "externalDocs": {
    "description": "See documentation for Akamai's Identity and Access Management API",
    "url": "https://techdocs.akamai.com/iam-user-admin/reference"
  },
  "info": {
    "license": {
      "name": "Apache 2.0",
      "url": "https://www.apache.org/licenses/LICENSE-2.0.html"
    },
    "title": "Roles",
    "version": "2"
  },
  "openapi": "3.0.0",
  "paths": {
    "/user-admin/roles/grantable-roles": {
      "get": {
        "description": "List which grantable roles you can include in a new custom role or add to an existing custom role.",
        "externalDocs": {
          "description": "See documentation for this operation in Akamai's Identity and Access Management API",
          "url": "https://techdocs.akamai.com/iam-user-admin/reference/get-grantable-roles"
        },
        "operationId": "get-grantable-roles",
        "parameters": [
          {
            "description": "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).",
            "in": "query",
            "name": "accountSwitchKey",
            "required": false,
            "schema": {
              "example": "1-5C0YLB:1-8BYUX",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "example": [
                  {
                    "grantedRoleDescription": "WAF Strict WhiteList",
                    "grantedRoleId": 2051,
                    "grantedRoleName": "WAF Strict WhiteList"
                  },
                  {
                    "grantedRoleDescription": "Manage License Delivery Configurations",
                    "grantedRoleId": 1032,
                    "grantedRoleName": "License Delivery Configurations - Manage"
                  },
                  {
                    "grantedRoleDescription": "View Audience Analytics Reports",
                    "grantedRoleId": 2063,
                    "grantedRoleName": "View Audience Analytics Reports"
                  },
                  {
                    "grantedRoleDescription": "View Real User Monitoring",
                    "grantedRoleId": 77852,
                    "grantedRoleName": "RealUserMonitoring - View Only"
                  },
                  {
                    "grantedRoleDescription": "Add/Edit/View Enhanced DNS - All privileges",
                    "grantedRoleId": 32,
                    "grantedRoleName": "Enhanced DNS - All privileges (add/edit/view)"
                  }
                ],
                "schema": {
                  "description": "Testing to see where it appears?",
                  "items": {
                    "additionalProperties": false,
                    "properties": {
                      "grantedRoleDescription": {
                        "description": "The description you supply for the granted role.",
                        "type": "string"
                      },
                      "grantedRoleId": {
                        "description": "A unique identifier for each granted role.",
                        "type": "integer"
                      },
                      "grantedRoleName": {
                        "description": "The name you supply for the granted role.",
                        "type": "string"
                      }
                    },
                    "type": "object",
                    "x-akamai": {
                      "file-path": "schemas/GrantedRole.yaml"
                    }
                  },
                  "type": "array",
                  "x-akamai": {
                    "file-path": "schemas/ListOfGrantedRole.yaml"
                  }
                }
              }
            },
            "description": "The response lists grantable roles."
          }
        },
        "summary": "List grantable roles",
        "tags": [
          "Grantable roles"
        ]
      }
    }
  },
  "servers": [
    {
      "url": "https://{hostname}/identity-management/v2"
    }
  ],
  "x-akamai": {
    "auth-type": "EDGE_GRID",
    "file-path": "roles-api.yaml"
  },
  "x-readme": {
    "samples-languages": [
      "curl",
      "python",
      "node"
    ],
    "explorer-enabled": true,
    "proxy-enabled": true
  }
}
```