Folders
Update a folder
Rename, recolor or move a folder of the media library.
PUT
Needs
folders:update, and a role in the workspace that can edit media. See Permissions.name, color and parent_id; what you leave out stays as it is. parent_id moves the folder into another folder of the same workspace, and parent_id: null moves it to the top. A folder can’t go into itself or into one of its own subfolders. Its files and subfolders move with it. PATCH does the same as PUT.
Errors
Related
- Get a folder: the folder as it is now.
- Delete a folder: remove an empty folder.
Authorizations
Body
application/json
Response
The folder as saved.
A folder of the media library.
Read from the name: the folders PostSyncer makes for its own work are DEMO ("Product Demos"), UGC ("UGC Videos"), HOOK ("Hooks Videos"), SOUND ("Sounds"), AI_GENERATED ("AI Generated") and AI_GENERATED_REFERENCE ("References"). Every other folder is DEFAULT.
Available options:
DEFAULT, DEMO, UGC, HOOK, SOUND, AI_GENERATED, AI_GENERATED_REFERENCE