---
title: "Beta users"
method: POST
path: "/api/index/v1/betausers"
tags: ["Permissions"]
---

# Beta users

`POST /api/index/v1/betausers`

Allow the datasource be visible to the specified beta users. The default behaviour is datasource being visible to all users if it is enabled and not visible to any user if it is not enabled.

## Request body

- GreenlistUsersRequest — Describes the request body of the /betausers API call
  - `datasource` string, required — Datasource which needs to be made visible to users specified in the `emails` field.
  - `emails` string[], required — The emails of the beta users

## Response `200`

OK

## Other responses

- `400` — Bad Request
- `401` — Not Authorized
- `409` — Conflict

---

[API](https://skmtc.dev/gleanwork/apis/glean-api-2.md) · [All operations](https://skmtc.dev/gleanwork/apis/glean-api-2/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/gleanwork/glean-api-2/revisions/8516a7bdcc02/schema)
