Skip to main content
PUT
Update data source access

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
accessLevel
enum<string>
default:VIEW

Whether the principal can view or edit the data source

Available options:
VIEW,
EDIT
groupIds
string[]

Deprecated. Organization group IDs granted view access. Use groupAccess to set view or edit access.

memberIds
string[]

Deprecated. Organization member IDs granted view access. Use memberAccess to set view or edit access.

groupAccess
object[]

Organization groups with view or edit access

memberAccess
object[]

Organization members with view or edit access

Response

Data source access updated successfully

data
object
required