update_branch
Modify an existing branch in a Storyblok space via the Management API. Update branch name, source branch, preview URL, or position to streamline pipeline management.
Instructions
Updates an existing branch (pipeline) in a Storyblok space via the Management API.
- branch_id: Numeric ID of the branch to update.
Optional fields:
- name: New branch name
- source_id: Set/clear source branch (clone origin)
- url: Preview URL
- position: Position ordering number
Input Schema
Name | Required | Description | Default |
---|---|---|---|
branch_id | Yes | ||
name | No | ||
position | No | ||
source_id | No | ||
url | No |
Input Schema (JSON Schema)
{
"properties": {
"branch_id": {
"title": "Branch Id",
"type": "integer"
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Name"
},
"position": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Position"
},
"source_id": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Source Id"
},
"url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Url"
}
},
"required": [
"branch_id"
],
"title": "update_branchArguments",
"type": "object"
}