v1
latestSwagger 2.02026-07-17290378721.8 KBdatasource_permissions
enterprise
Disable permissions for a data source.
Disables permissions for the data source with the given id. All existing permissions will be removed and anyone will be able 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}/disable-permissions
Path parameters
datasourceIdstring required
Response
(empty)
Example response
{
"id": 65,
"message": "Data source added",
"name": "My Data source"
}