cURL
curl --request PUT \ --url https://hub.oxen.ai/api/repos/{namespace}/{repo_name}/branches/{branch_name} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "commit_id": "{{last_commit_id}}" }'
""
Update branch
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
(Required)
"ox"
"test-repo"
"{{new_branch_name}}"
OK
The response is of type file.
file