APIMedia
Update a media folder
Rename a media folder, move it into another folder, or move it to the top level.
Send only what you want to change. Moving a folder moves everything in it with it. A folder cannot go into itself or into one of its own subfolders, and the moved branch must still fit in 5 levels.
Request
- Method:
PUT - URL:
https://app.socialk.it/core/api/<workspaceUuid>/media/folders/<folderUuid> - Authorization:
Bearer <personal-key> - Content-Type:
application/json - Roles: Admin, Member (see Permissions)
Path parameters
| Parameter | Type | Description |
|---|---|---|
workspaceUuid | string | UUID of the workspace. |
folderUuid | string | UUID of the folder. |
Body
{
"name": "Black Friday 2026",
"parent": null
}| Field | Type | Required | Description |
|---|---|---|---|
name | string | No | New name, up to 255 characters. Must be unique among the folders with the same parent. |
parent | string or null | No | UUID of the new parent folder. null moves the folder to the top level. Leave it out to keep the folder where it is. |
Example
curl -X PUT 'https://app.socialk.it/core/api/<workspaceUuid>/media/folders/<folderUuid>' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <personal-key>' \
-H 'Content-Type: application/json' \
-d '{"name": "Black Friday 2026", "parent": null}'Response
The folder object is described on List media folders.
{
"uuid": "8d3b5f17-2a64-4c90-b7e1-0f9a6d2c4e85",
"name": "Black Friday 2026",
"parent": null,
"media_count": 4
}A 404 with an empty message means no folder of this workspace has that UUID. A 404 with Workspace not found. means the workspace UUID is wrong. The other 422 errors are the ones of Create a media folder: name already used, parent not found, nesting too deep.