datasources
Delete an existing data source by name.
If you are running Grafana Enterprise and have Fine-grained access control enabled you need to have a permission with action: datasources:delete and scopes: datasources:*, datasources:name:* and datasources:name:test_datasource (single data source).
delete/datasources/name/{name}
Request
- Base URL/api (relative, and the document was published on a file host, not at the API’s origin)
- URL/api/datasources/name/{name}
- Auth
- HTTP basic
- or API key in header Authorization
Path parameters
namestring required
Response
(empty)
Example response
{
"id": 65,
"message": "Dashboard My Dashboard deleted"
}Changes
No recorded changes to this operation across all 2 revisions of this API.