Update fields on a repository. Omitted keyword arguments are left unchanged.Documentation Index
Fetch the complete documentation index at: https://docs.mesa.dev/llms.txt
Use this file to discover all available pages before exploring further.
Options
Repository name to update.
Organization override.
New repository name.
New default bookmark name.
Omit to leave upstream unchanged. Pass
None to remove the upstream entirely. Pass UpstreamConfig to set or replace the upstream URL.Upstream auth tri-state
UpstreamConfig.auth has different meanings on update:
| Value | Behavior |
|---|---|
omitted / UNSET | Preserve the existing stored credential while updating the URL. |
None | Clear the stored credential and make the upstream public. |
TokenAuth or UsernamePasswordAuth | Replace the stored credential. |
Response
Returns the updated repository object withid, org, name, default_bookmark, head_change_id, upstream, created_at, and tags.
Required scope
write
The REST API supports repository tag updates. The current high-level Python method does not expose
tags; use mesa.raw for tag mutation until that wrapper exists.
