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

@@ -3015,7 +3015,7 @@
},
"/dashboards/db": {
"post": {
"description": "Creates a new dashboard or updates an existing dashboard.",
"description": "Creates a new dashboard or updates an existing dashboard.\nNote: This endpoint is not intended for creating folders, use `POST /api/folders` for that.",
"tags": [
"dashboards"
],

View File

@@ -16107,7 +16107,7 @@
},
"/dashboards/db": {
"post": {
"description": "Creates a new dashboard or updates an existing dashboard.",
"description": "Creates a new dashboard or updates an existing dashboard.\nNote: This endpoint is not intended for creating folders, use `POST /api/folders` for that.",
"operationId": "postDashboard",
"requestBody": {
"content": {