Admin, Write, Clone, or Read access will receive a 403 error.
Request
Content-Type: application/json header.
Authentication
This endpoint requires HTTP Basic Auth. Pass your API key as the username and leave the password empty.
Path parameters
The numeric ID of the repository to update.
Body parameters
New display name for the repository.
Visibility setting. Must be either
"Public" or "Private".Updated description of the repository’s contents or purpose.
Response
Returns200 with the updated repository object.
Unique numeric identifier for the repository.
Updated display name of the repository.
Updated description, if provided.
Updated visibility setting. Either
"Public" or "Private".The team this repository belongs to. Team association cannot be changed via this endpoint.
Your access level. Remains
"Owner" after an update.Errors
| Status | Meaning |
|---|---|
403 | You do not have Owner permission on this repository. |
404 | No repository with the given ID exists, or you do not have access to it. |