Folders: Do not allow modifying the folder UID via the API (#74684)
* Folders: Do not allow changing the folder UID via the API * Update Swagger/OpenAPI docs * Update HTTP API docs
This commit is contained in:
@@ -90,10 +90,6 @@ type CreateFolderCommand struct {
|
||||
type UpdateFolderCommand struct {
|
||||
UID string `json:"-"`
|
||||
OrgID int64 `json:"-"`
|
||||
// NewUID it's an optional parameter used for overriding the existing folder UID
|
||||
// Starting with 10.0, this is deprecated. It will be removed in a future release.
|
||||
// Please avoid using it because it can result in folder loosing its permissions.
|
||||
NewUID *string `json:"uid"` // keep same json tag with the legacy command for not breaking the existing APIs
|
||||
// NewTitle it's an optional parameter used for overriding the existing folder title
|
||||
NewTitle *string `json:"title"` // keep same json tag with the legacy command for not breaking the existing APIs
|
||||
// NewDescription it's an optional parameter used for overriding the existing folder description
|
||||
|
||||
Reference in New Issue
Block a user