Skip to main content
PUT
/
api
/
public
/
organizations
/
{orgId}
/
data-sources
/
{id}
/
access
Update data source access
curl --request PUT \
  --url https://charts.basedash.com/api/public/organizations/{orgId}/data-sources/{id}/access \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "groupIds": [],
  "memberIds": []
}
'
{
  "data": {
    "dataSourceId": "<string>",
    "groupIds": [
      "<string>"
    ],
    "memberIds": [
      "<string>"
    ]
  }
}

Documentation Index

Fetch the complete documentation index at: https://basedash.com/docs/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

API key authentication using Bearer token format: Bearer <basedash_api_key>

Path Parameters

orgId
string
required

Organization ID

id
string
required

Data source ID

Body

application/json
mode
enum<string>
required
Available options:
everyone
groupIds
string[]

Organization group IDs that can query the data source

memberIds
string[]

Organization member IDs that can query the data source

Response

Data source access updated successfully

data
object
required