mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
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:
@@ -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"
|
||||
],
|
||||
|
||||
@@ -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": {
|
||||
|
||||
Reference in New Issue
Block a user