v1

latestOpenAPI 3.0.02026-07-141,4077,1665.2 MB
Logs Restriction Queries

List roles for a restriction query

Returns all roles that have a given restriction query.

get/api/v2/logs/config/restriction_queries/{restriction_query_id}/roles

Path parameters

restriction_query_idstring required

The ID of the restriction query.

Query parameters

page[size]integer
Example:10

Size for a given page. The maximum allowed value is 100.

page[number]integer

Specific page number to return.

Response

OK

Example response

{
  "data": [
    {
      "attributes": {
        "name": "Datadog Admin Role"
      },
      "id": "<ROLE_ID>",
      "type": "roles"
    }
  ]
}