Folders: Forbid performing operations on folders via dashboards HTTP API (#81264)

* Forbid creating folders via dashboard api

* Update delete endpoint

* Update docs
This commit is contained in:
Tania
2024-02-04 01:16:19 +01:00
committed by GitHub
parent bd0fd21852
commit 14a36b4040
4 changed files with 13 additions and 2 deletions

View File

@ -37,6 +37,8 @@ The uid can have a maximum length of 40 characters.
Creates a new dashboard or updates an existing dashboard. When updating existing dashboards, if you do not define the `folderId` or the `folderUid` property, then the dashboard(s) are moved to the root level. (You need to define only one property, not both).
> **Note:** This endpoint is not intended for creating folders, use `POST /api/folders` for that.
**Required permissions**
See note in the [introduction]({{< ref "#dashboard-api" >}}) for an explanation.