API: Add deprecation notice for updating folder UID (#68543)
* API: Add deprecation notice for updating folder UID
This commit is contained in:
@@ -90,6 +90,8 @@ 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
|
||||
|
||||
Reference in New Issue
Block a user