Restriction Policies

Get a restriction policy

Retrieves the restriction policy associated with a specified resource.

get/api/v2/restriction_policy/{resource_id}

Request

  • Base URL
    https://api.datadoghq.com
  • URL
    https://api.datadoghq.com/api/v2/restriction_policy/{resource_id}
  • Auth
    • API key in header DD-API-KEY and API key in header DD-APPLICATION-KEY
    • or OAuth 2
      Authorization code: /oauth2/v1/authorize
      Token URL: /oauth2/v1/token

Path parameters

resource_idstring required

Identifier, formatted as type:id. Supported types: dashboard, integration-service, integration-webhook, notebook, powerpack, reference-table, security-rule, slo, synthetics-global-variable, synthetics-test, synthetics-private-location, monitor, workflow, app-builder-app, connection, connection-group, rum-application, cross-org-connection, spreadsheet, on-call-schedule, on-call-escalation-policy, on-call-team-routing-rules, logs-pipeline, case-management-project, monitor-notification-rule, status-page.

Response

OK

Example response

{
  "data": {
    "attributes": {
      "bindings": []
    },
    "id": "dashboard:abc-def-ghi",
    "type": "restriction_policy"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.