datasources

Delete an existing data source by UID.

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

delete/datasources/uid/{uid}

Request

  • Base URL
    /api (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /api/datasources/uid/{uid}
  • Auth
    • HTTP basic
    • or API key in header Authorization

Path parameters

uidstring required

Response

An OKResponse is returned if the request was successful.

messagestring

Changes

No recorded changes to this operation across all 2 revisions of this API.