POST
/
api
/
index
/
v1
/
betausers
from glean import Glean
import os


with Glean(
    api_token=os.getenv("GLEAN_API_TOKEN", ""),
) as g_client:

    g_client.indexing.permissions.authorize_beta_users(datasource="<value>", emails=[
        "Neil92@gmail.com",
        "Alejandrin_Boyer4@hotmail.com",
        "Shyanne_McLaughlin95@hotmail.com",
    ])

    # Use the SDK ...

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Describes the request body of the /betausers API call

Response

200

OK