duplicate_space
Duplicate an existing Storyblok space using the Management API, specifying a new space name and optional configurations like domain, environments, and hooks.
Instructions
Duplicates an existing Storyblok space via the Management API.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
domain | No | ||
environments | No | ||
has_pending_tasks | No | ||
new_space_name | Yes | ||
original_space_id | Yes | ||
searchblok_id | No | ||
story_published_hook | No |
Input Schema (JSON Schema)
{
"properties": {
"domain": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Domain"
},
"environments": {
"anyOf": [
{
"items": {
"additionalProperties": {
"type": "string"
},
"type": "object"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Environments"
},
"has_pending_tasks": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null,
"title": "Has Pending Tasks"
},
"new_space_name": {
"title": "New Space Name",
"type": "string"
},
"original_space_id": {
"title": "Original Space Id",
"type": "integer"
},
"searchblok_id": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Searchblok Id"
},
"story_published_hook": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Story Published Hook"
}
},
"required": [
"original_space_id",
"new_space_name"
],
"title": "duplicate_spaceArguments",
"type": "object"
}