Skip to main content
POST
Create a branch (write)

Authorizations

Authorization
string
header
required

API token: tsu_pat_… (PAT) or tsu_proj_… (project token). The token's granted RBAC permissions determine access; see each operation's x-permission.

Path Parameters

projectId
string
required

Project id (UUID) or id-embedded path slug.

Body

application/json
name
string
required
Required string length: 1 - 100
Pattern: ^[a-z0-9][a-z0-9-]*$
description
string
Maximum string length: 500

Response

The created branch (with zero diff stats).

success
boolean
required
data
object
required