---
title: "List RLS viewer assignments"
method: GET
path: "/dashboards/{dashboard_id}/rls/assignments"
tags: ["Dashboard"]
---

# List RLS viewer assignments

`GET /dashboards/{dashboard_id}/rls/assignments`

## Request

- Base URL: `https://app.mammoth.io/api/v2`
- URL: `https://app.mammoth.io/api/v2/dashboards/{dashboard_id}/rls/assignments`
- Auth: one of:
  - HTTP bearer
  - API key in header `X-API-KEY` and API key in header `X-API-SECRET` and API key in header `X-WORKSPACE-ID`

Editor-only. Returns the current RLS config (enabled, filter_column) plus every viewer's assignment, flagging values no longer present in the column's distinct set.

## Path parameters

- `dashboard_id` integer, required

## Response `200`

Request fulfilled, document follows

- RlsAssignmentsResponse
  - `enabled` boolean, required
  - `filter_column` string, nullable
  - `assignments` RlsAssignmentView[], required
    - `email` string, required
    - `all_access` boolean, required
    - `values` string[], required
    - `value_missing` boolean, required: True if an assigned value no longer exists in the column

## Other responses

- `400`: Bad request syntax or unsupported method
- `403`: Request forbidden -- authorization will not help

---

[API](https://skmtc.dev/mammoth/apis/mammoth-analytics.md) · [All operations](https://skmtc.dev/mammoth/apis/mammoth-analytics/llms.txt) · [OpenAPI document](https://skmtc.dev/mammoth/apis/mammoth-analytics/revisions/17af8131167d?raw)
