---
title: "List permissions"
method: GET
path: "/api/v2/permissions"
tags: ["Roles"]
---

# List permissions

`GET /api/v2/permissions`

## Request

- Base URL: `https://api.datadoghq.com`
- URL: `https://api.datadoghq.com/api/v2/permissions`
- Auth: one of:
  - API key in header `DD-API-KEY` and API key in header `DD-APPLICATION-KEY`
  - OAuth 2
    - Authorization code: `/oauth2/v1/authorize`
    - Token URL: `/oauth2/v1/token` scopes: `user_access_read`

Returns a list of all permissions, including name, description, and ID.

## Response `200`

OK

- PermissionsResponse: Payload with API-returned permissions.
  - `data` Permission[]: Array of permissions.
    - `attributes` PermissionAttributes: Attributes of a permission.
      - `created` string, date-time: Creation time of the permission.
      - `description` string: Description of the permission.
      - `display_name` string: Displayed name for the permission.
      - `display_type` string: Display type.
      - `group_name` string: Name of the permission group.
      - `name` string: Name of the permission.
      - `name_aliases` string[]: List of alias names for the permission.
      - `restricted` boolean: Whether or not the permission is restricted.
    - `id` string: ID of the permission.
    - `type` 'permissions', required: Permissions resource type.

## Other responses

- `400`: Bad Request
- `403`: Authentication error
- `429`: Too many requests

---

[API](https://skmtc.dev/datadog/apis/datadog-api-v2-collection.md) - [All operations](https://skmtc.dev/datadog/apis/datadog-api-v2-collection/llms.txt) - [OpenAPI document](https://skmtc.dev/datadog/apis/datadog-api-v2-collection/revisions/da68bf029e4c?raw)
