v51

latestOpenAPI 3.0.3raw.githubusercontent.com2026-08-01140309549.5 KB
projects
branches

Update a branch

Update a branch for a project. The user must have edit permissions for the project, or provide a valid project key for the project (no rename).

patch/v0/projects/{project}/branches/{branch}

Path parameters

branchstring required

The slug or UUID for a branch.

projectstring required

The slug or UUID for a project.

Request body

archivedboolean nullable

Set whether the branch is archived.

namestring
slugstring

Response

successful operation

archivedstring date-time
createdstring date-time required
modifiedstring date-time required
namestring required
projectstring uuid required
slugstring required
uuidstring uuid required