Update a Grafana folder by UID
PUT/v1/grafana/api/folders/:id
Updates a folder by UID. Make sure the region in the URL matches your account's region.
Request
Path Parameters
uid stringrequired
The UID of the folder
- application/json
Body
required
uid string
The UID of the folder
title stringrequired
The title of the folder
version integer
The version number of the folder
overwrite boolean
Whether to overwrite if folder exists
Responses
- 200
Folder updated
- application/json
- Schema
- Example (from schema)
Schema
id integer
The numeric ID of the folder
uid string
The UID of the folder
title string
The title of the folder
url string
The URL path to the folder
created date-time
ISO timestamp when the folder was created
updated date-time
ISO timestamp when the folder was last updated
version integer
The version number of the folder
{
"id": 123,
"uid": "my-folder-uid",
"title": "Updated Folder Title",
"url": "/dashboards/f/my-folder-uid/updated-folder-title",
"created": "2024-01-15T10:30:00Z",
"updated": "2024-01-16T14:45:30Z",
"version": 2
}
Loading...