dashboards
versions

Restore a dashboard to a given dashboard version using UID.

This API will be removed when /apis/dashboard.grafana.app/v1 is released. You can restore a dashboard by reading it from history, then creating it again.

post/dashboards/uid/{uid}/restore

Request

  • Base URL
    /api (relative, and the document’s source URL is not known)
  • URL
    /api/dashboards/uid/{uid}/restore
  • Auth
    • HTTP basic
    • or API key in header Authorization

Path parameters

uidstring required

Request body

versioninteger

Response

(empty)

folderUidstring

FolderUID The unique identifier (uid) of the folder the dashboard belongs to.

idinteger required

ID The unique identifier (id) of the created/updated dashboard.

statusstring required

Status status of the response.

titlestring required

Slug The slug of the dashboard.

uidstring required

UID The unique identifier (uid) of the created/updated dashboard.

urlstring required

URL The relative URL for accessing the created/updated dashboard.

versioninteger required

Version The version of the dashboard.

Example response

{
  "id": 1,
  "status": "success",
  "title": "my-dashboard",
  "uid": "nHz3SXiiz",
  "url": "/d/nHz3SXiiz/my-dashboard",
  "version": 2
}

Changes

No recorded changes to this operation across all 1 revision of this API.