Skip to main content
POST
cURL

Authorizations

Authorization
string
header
default:dav_ak_live_your_token
required

Personal access token. The scopes granted at issuance determine both which operations the key may call and the ceiling on the resource permissions it can exercise. Each scope family is a ladder: projects:manage implies projects:write and projects:read; cards:manage implies cards:write and cards:read; and teams:manage implies teams:write and teams:read. These are named API capability bundles, not blanket domain roles: manage exposes only the permissions enumerated for that scope and never bypasses the acting user's current role-based access.

Path Parameters

projectId
string
required

Project id. May be compound in the form {projectId}--{branchName}.

Minimum string length: 1

Query Parameters

branch
string
default:main

Body

application/json
name
string
required
Required string length: 1 - 200
sourceBranch
string

Branch to copy from. Defaults to the branch query parameter, or main.

Response

Branch created.

branch
object
required
sanitized
boolean
required

True when the created name differs from the requested one.