v1
latestSwagger 2.02026-07-17290378721.8 KBdatasource_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
Path parameters
datasourceIdstring required
Response
(empty)
Example response
{
"id": 65,
"message": "Data source added",
"name": "My Data source"
}