branches
put/repositories/{repository}/branches/{branch}

Request

  • Base URL
    /api/v1 (relative, and the document was published on a file host, not at the API’s origin)
  • Auth
    • HTTP bearer
    • or HTTP basic
    • or API key in cookie internal_auth_session

Request body

type'object' | 'common_prefix' | 'reset' required

What to reset according to path.

pathstring
forceboolean

Response

reset successful

Changes