v1

latestOpenAPI 3.0.02026-07-141,4077,1665.2 MB
Restriction Policies

Update a restriction policy

Updates the restriction policy associated with a resource.

Supported resources

Restriction policies can be applied to the following resources:

  • Dashboards: dashboard
  • Integration Services: integration-service
  • Integration Webhooks: integration-webhook
  • Notebooks: notebook
  • Powerpacks: powerpack
  • Reference Tables: reference-table
  • Security Rules: security-rule
  • Service Level Objectives: slo
  • Synthetic Global Variables: synthetics-global-variable
  • Synthetic Tests: synthetics-test
  • Synthetic Private Locations: synthetics-private-location
  • Monitors: monitor
  • Workflows: workflow
  • App Builder Apps: app-builder-app
  • Connections: connection
  • Connection Groups: connection-group
  • RUM Applications: rum-application
  • Cross Org Connections: cross-org-connection
  • Spreadsheets: spreadsheet
  • On-Call Schedules: on-call-schedule
  • On-Call Escalation Policies: on-call-escalation-policy
  • On-Call Team Routing Rules: on-call-team-routing-rules
  • Logs Pipelines: logs-pipeline
  • Case Management Projects: case-management-project
  • Monitor Notification Rules: monitor-notification-rule
  • Status Pages: status-page

Supported relations for resources

Resource TypeSupported Relations
Dashboardsviewer, editor
Integration Servicesviewer, editor
Integration Webhooksviewer, editor
Notebooksviewer, editor
Powerpacksviewer, editor
Security Rulesviewer, editor
Service Level Objectivesviewer, editor
Synthetic Global Variablesviewer, editor
Synthetic Testsviewer, editor
Synthetic Private Locationsviewer, editor
Monitorsviewer, editor
Reference Tablesviewer, editor
Workflowsviewer, runner, editor
App Builder Appsviewer, editor
Connectionsviewer, resolver, editor
Connection Groupsviewer, editor
RUM Applicationviewer, editor
Cross Org Connectionsviewer, editor
Spreadsheetsviewer, editor
On-Call Schedulesviewer, overrider, editor
On-Call Escalation Policiesviewer, editor
On-Call Team Routing Rulesviewer, editor
Logs Pipelinesviewer, processors_editor, editor
Case Management Projectsviewer, contributor, manager
Monitor Notification Rulesviewer, editor
Status Pagesviewer, responder, manager
post/api/v2/restriction_policy/{resource_id}

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.

Query parameters

allow_self_lockoutboolean

Allows admins (users with the user_access_manage permission) to remove their own access from the resource if set to true. By default, this is set to false, preventing admins from locking themselves out.

Request body

Example request

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

Response

OK

Example response

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