update_asset
Modify metadata or settings for an existing asset in Storyblok, including folder placement, tags, visibility, and publishing schedules. Simplify asset management with precise updates.
Instructions
Update an existing asset’s metadata or settings.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
alt | No | ||
asset_folder_id | No | ||
asset_id | Yes | ||
copyright | No | ||
expire_at | No | ||
focus | No | ||
internal_tag_ids | No | ||
is_private | No | ||
locked | No | ||
meta_data | No | ||
publish_at | No | ||
source | No | ||
title | No |
Input Schema (JSON Schema)
{
"properties": {
"alt": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Alt"
},
"asset_folder_id": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Asset Folder Id"
},
"asset_id": {
"title": "Asset Id",
"type": "integer"
},
"copyright": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Copyright"
},
"expire_at": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Expire At"
},
"focus": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Focus"
},
"internal_tag_ids": {
"anyOf": [
{
"items": {
"type": "integer"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Internal Tag Ids"
},
"is_private": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null,
"title": "Is Private"
},
"locked": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null,
"title": "Locked"
},
"meta_data": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"default": null,
"title": "Meta Data"
},
"publish_at": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Publish At"
},
"source": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Source"
},
"title": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Title"
}
},
"required": [
"asset_id"
],
"title": "update_assetArguments",
"type": "object"
}