datasource_permissions
enterprise
Enable permissions for a data source.
Enables permissions for the data source with the given id. No one except Org Admins will be able to query the data source until permissions have been added which permit certain users or teams to query the data source.
You need to have a permission with action datasources.permissions:toggle and scopes datasources:*, datasources:id:*, datasources:id:1 (single data source).
post/datasources/{datasourceId}/enable-permissions
Request
- Base URL/api (relative, and the document was published on a file host, not at the API’s origin)
- URL/api/datasources/{datasourceId}/enable-permissions
- Auth
- HTTP basic
- or API key in header Authorization
Path parameters
datasourceIdstring required
Response
(empty)
Example response
{
"id": 65,
"message": "Data source added",
"name": "My Data source"
}Changes
No recorded changes to this operation across all 2 revisions of this API.