POST
/
api
/
repos
/
{namespace}
/
{repo_name}
/
branches

Authorizations

Authorization
string
headerrequired

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

Path Parameters

namespace
string
required

(Required)

repo_name
string
required

Body

application/json
from_name
string
new_name
string

Response

200 - text/plain

The response is of type file.