v5

latestSwagger 2.0MIT2026-08-03485217850.7 KB
repository

Rename a branch

patch/repos/{owner}/{repo}/branches/{branch}

Path parameters

ownerstring required

owner of the repo

repostring required

name of the repo

branchstring required

name of the branch

Request body

namestring required

New branch name

Response

APIEmpty is an empty response