v1

latestSwagger 2.02026-07-17290378721.8 KB
datasources

Delete an existing data source by id.

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:id:* and datasources:id:1 (single data source).

Please refer to updated API instead

delete/datasources/{id}

Path parameters

idstring required

Response

An OKResponse is returned if the request was successful.

messagestring