Move a named ref

Requires writer. expected_root is "" only when creating the ref.

put/v1/refs/{name}

Request

  • Base URL: https://store.example.com
  • URL: https://store.example.com/v1/refs/{name}
  • Auth: HTTP bearer

Request body

rootstring required
expected_rootstring required

Response

Updated

object required

Changes

No recorded changes to this operation across all 1 revision of this API.