cURL
curl --request PATCH \ --url https://api.mesa.dev/v1/{org}/{repo}/bookmark/{bookmark} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "commit_oid": "<string>", "from_commit_oid": "<string>" } '
{ "name": "<string>", "commit_oid": "<string>", "is_default": true }
Move an existing bookmark to a different commit
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
1
^[0-9a-f]{40}$
Bookmark moved