v1
latestSwagger 2.02026-07-17290378721.8 KBdatasources
Get data source Id by Name.
If you are running Grafana Enterprise and have Fine-grained access control enabled you need to have a permission with action: datasources:read and scopes: datasources:*, datasources:name:* and datasources:name:test_datasource (single data source).
get/datasources/id/{name}
Path parameters
namestring required
Response
(empty)
Example response
{
"id": 65
}