---
title: "Set Data Access Level policy."
method: PUT
path: "/v1/policies/dataAccessLevel"
tags: ["policiesManagement"]
---

# Set Data Access Level policy.

`PUT /v1/policies/dataAccessLevel`

Set the Data Access Level policy. When enabled, this policy sets the default data access level for all newly created dashboards to the viewer’s role access filter. Otherwise, newly created dashboards will default to the sharer’s role access filter and might display data that viewers’ roles don’t allow them to view. [Learn More](https://help.sumologic.com/Manage/Security/Data_Access_Level_for_Shared_Dashboards)

## Request body

- DataAccessLevelPolicy — Data Access Level policy.
  - `enabled` boolean, required — Whether the Data Access Level policy is enabled.

## Response `200`

Data Access Level policy was set successfully.

- DataAccessLevelPolicy — Data Access Level policy.
  - `enabled` boolean, required — Whether the Data Access Level policy is enabled.

## Other responses

- `default` — Operation failed with an error.

---

[API](https://skmtc.net/sumologic/apis/sumo-logic-api.md) · [All operations](https://skmtc.net/sumologic/apis/sumo-logic-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/sumologic/sumo-logic-api/revisions/18a824df1e78/schema)
