Skip to main content
Repoint an existing bookmark to a different change ID. Moves must advance history unless allow_backwards=True is provided. Required scope: write

Options

str
required
Repository name.
str
required
Bookmark name to move.
str
required
Change ID to move the bookmark to.
bool
default:"False"
Allow an intentional backward or sideways move.
str | None
Organization override.

Response

str
Bookmark name.
str
Change ID the bookmark points to.
bool
Whether this is the repository default bookmark.
str | None
Previous change ID before the move, or null when unavailable.