Skip to main content
PUT
Update a branch to a new commit

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

namespace
string
required

Namespace of the repository

repo_name
string
required

Name of the repository

branch_name
string
required

Name of the branch to update

Body

application/json

The commit ID to update the branch head to.

commit_id
string
required

Response

Branch updated

status
string
required
status_message
string
required
branch
object
required
oxen_version
string | null