update_preset
Modify existing presets in a Storyblok space by updating properties like name, component ID, preset data, image, color, icon, or description using the Management API.
Instructions
Updates an existing preset in a Storyblok space via the Management API.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
color | No | ||
component_id | No | ||
description | No | ||
icon | No | ||
image | No | ||
name | No | ||
preset | No | ||
preset_id | Yes |
Input Schema (JSON Schema)
{
"properties": {
"color": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Color"
},
"component_id": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Component Id"
},
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Description"
},
"icon": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Icon"
},
"image": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Image"
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Name"
},
"preset": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"default": null,
"title": "Preset"
},
"preset_id": {
"title": "Preset Id",
"type": "integer"
}
},
"required": [
"preset_id"
],
"title": "update_presetArguments",
"type": "object"
}