create_asset_folder
Create and organize asset folders in Storyblok spaces by specifying a name and optional parent folder ID. Simplifies asset management for streamlined workflows.
Instructions
Create a new asset folder in the current Storyblok space.
Parameters:
name (str): Name of the new asset folder.
parent_id (Optional[int]): ID of the parent folder (if nested).
Request Body Example:
{
"asset_folder": {
"name": "My Folder",
"parent_id": 123
}
}
Returns:
Dict[str, Any]: The API response with created folder info or an error message.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
name | Yes | ||
parent_id | No |
Input Schema (JSON Schema)
{
"properties": {
"name": {
"title": "Name",
"type": "string"
},
"parent_id": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Parent Id"
}
},
"required": [
"name"
],
"title": "create_asset_folderArguments",
"type": "object"
}