Move a dashboard to a different folder
PUT/perses-public/api/v1/dashboards/move
Moves a dashboard, and all of its stored versions, from one folder to another.
dashboardId is the dashboard's uid. All three properties are required.
The response acknowledges the move with the dashboard's current version row id. That value is not a new handle: keep addressing the dashboard by the uid you sent.
Request
- application/json
Body
required
The dashboard's uid. The version row id is not accepted.
id of the folder the dashboard is in now.
id of the folder to move it to.
Responses
- 200
- 401
- 404
The dashboard was moved.
- application/json
- Schema
- Example (from schema)
Schema
{
"id": "7d1e5a90-2b44-4c18-9f03-5a6b7c8d9e01"
}
The API token is missing or invalid.
- application/json
- Schema
- Example (from schema)
Schema
Quote this when contacting support about a failed request.
Null for most dashboard errors.
Extra context for the error, when there is any.
{
"statusCode": 400,
"message": "Dashboard name is required",
"requestId": "string",
"errorCode": "string",
"parameters": {}
}
No such dashboard in oldProjectId.
- application/json
- Schema
- Example (from schema)
Schema
Quote this when contacting support about a failed request.
Null for most dashboard errors.
Extra context for the error, when there is any.
{
"statusCode": 400,
"message": "Dashboard name is required",
"requestId": "string",
"errorCode": "string",
"parameters": {}
}