v1

latestOpenAPI 3.1.0raw.githubusercontent.com2026-06-0318386446.4 KB

Update Repository

Update a repository by username and repo name.

patch/api/v2/repos/{username}/{repo_name}

Path parameters

usernamestring required
repo_namestring required

Headers

authorizationstring nullable

Cookies

modaic_sessionstring nullable

Request body

namestring nullable
descriptionstring nullable
privateboolean nullable
default_branchstring nullable
websitestring nullable
archivedboolean nullable

Response

Successful Response

{"stackTrail":"paths:/api/v2/repos/{username}/{repo_name}:patch:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}