Reset a project branch.
If branch === main, the branch is reset to target_config_sha. Otherwise, the branch is reset to main.
put/v0/projects/{project}/branches/{branch}/reset
Path parameters
projectstring required
branchstring required
Query parameters
target_config_shastring
The commit SHA to reset the main branch to. Required if resetting the main branch; disallowed otherwise.
Response
success