---
title: "List org group policies"
method: GET
path: "/api/v2/org_group_policies"
tags: ["Org Groups"]
---

# List org group policies

`GET /api/v2/org_group_policies`

## Request

- Base URL: `https://api.datadoghq.com`
- URL: `https://api.datadoghq.com/api/v2/org_group_policies`
- Auth: API key in header `DD-API-KEY` and API key in header `DD-APPLICATION-KEY`

List policies for an organization group. Requires a filter on org group ID.

## Query parameters

- `filter[org_group_id]` string, uuid, required
- `filter[policy_name]` string
- `page[number]` integer
- `page[size]` integer
- `sort` 'id' | '-id' | 'name' | '-name': Field to sort policies by.

## Response `200`

OK

- OrgGroupPolicyListResponse: Response containing a list of org group policies.
  - `data` OrgGroupPolicyData[], required: An array of org group policies.
    - `attributes` OrgGroupPolicyAttributes, required: Attributes of an org group policy.
      - `content` object: The policy content as key-value pairs.
      - `enforcement_tier` 'OVERRIDE_ALLOWED' | 'GROUP_MANAGED' | 'DELEGATE', required: The enforcement tier of the policy. `OVERRIDE_ALLOWED` means the policy is set but member orgs may mutate it. `GROUP_MANAGED` means the policy is strictly controlled and mutations are blocked for affected orgs. `DELEGATE` means each member org controls its own value.
      - `modified_at` string, date-time, required: Timestamp when the policy was last modified.
      - `policy_name` string, required: The name of the policy.
      - `policy_type` 'org_config', required: The type of the policy. Only `org_config` is supported, indicating a policy backed by an organization configuration setting.
    - `id` string, uuid, required: The ID of the org group policy.
    - `relationships` OrgGroupPolicyRelationships: Relationships of an org group policy.
      - `org_group` OrgGroupRelationshipToOne: Relationship to a single org group.
        - `data` OrgGroupRelationshipToOneData, required: A reference to an org group.
          - `id` string, uuid, required: The ID of the org group.
          - `type` 'org_groups', required: Org groups resource type.
    - `type` 'org_group_policies', required: Org group policies resource type.
  - `links` OrgGroupPaginationLinks: Pagination links for navigating between pages of an org group list response.
    - `first` string: Link to the first page.
    - `last` string: Link to the last page.
    - `next` string, nullable: Link to the next page.
    - `prev` string, nullable: Link to the previous page.
    - `self` string: Link to the current page.
  - `meta` OrgGroupPaginationMeta: Pagination metadata for org group list responses.
    - `page` OrgGroupPaginationMetaPage: Page-based pagination details for org group list responses.
      - `first_number` integer: First page number.
      - `last_number` integer, nullable: Last page number.
      - `next_number` integer, nullable: Next page number.
      - `number` integer: Page number.
      - `prev_number` integer, nullable: Previous page number.
      - `size` integer: Page size.
      - `total` integer: Total number of results.
      - `type` string: Pagination type.

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `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)
