Skip to main content
Move an existing bookmark to a new change ID. Moves must advance history unless allow_backwards: true is provided. Required scope: write

Options

string
required
Repository name.
string
required
Bookmark to move.
string
required
Target change ID.
boolean
default:"false"
Allow an intentional backward or sideways move.

Response

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