update_asset_folder
Modify the name or parent folder of an existing asset folder in Storyblok by specifying a folder ID and optional new name or parent ID.
Instructions
Update an existing asset folder's name or parent in the current Storyblok space.
Parameters:
folder_id (str): ID of the folder to update.
name (Optional[str]): New name for the folder.
parent_id (Optional[int]): New parent folder ID.
Request Body Example:
{
"asset_folder": {
"name": "Updated Folder",
"parent_id": 456
}
}
Returns:
Dict[str, Any]: A success message or error content depending on response.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
folder_id | Yes | ||
name | No | ||
parent_id | No |