provider Logs Restriction Queries GET
/api/v2/logs/config/restriction_queries/{restriction_query_id}/roles @utdk/datadog
/api/v2/logs/config/restriction_queries/{restriction_query_id}/roles List roles for a restriction query
Returns all roles that have a given restriction query.
- restriction_query_id path required
- The ID of the restriction query.
- string
- page[size] query
- Size for a given page. The maximum allowed value is 100.
- integer
- page[number] query
- Specific page number to return.
- integer
Try it
Authentication
Configure credentials for Datadog API V2 Collection
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.
Saved automatically to browser storage.
Code snippet
Updates live as you fill in the form above.
TypeScript
import datadog from '@utdk/datadog';
await datadog.listrestrictionqueryroles({
"page[size]": 10,
"page[number]": 0
})