Update a media folder
PUT/:workspace/media/folders/:folder
Renames a folder, moves it under another, or both. A folder cannot be moved into itself or into anything filed below it, and a move must leave room for the whole subtree within the five-level nesting cap.
Request
Responses
- 200
- 401
- 403
- 404
- 422
The updated folder.
The bearer token is missing, malformed, unknown, or expired.
The token is valid, but the user it belongs to may not perform this action:
- they are not a member of the
{workspace}in the path; or - their workspace role is too low for this endpoint (write routes require Admin or Member); or
- for
/panelendpoints, they are not a platform administrator.
The host application that Mixpost is installed into can also deny access to Mixpost as a whole, which produces the same response.
Workspace or folder not found.
The request body failed validation.