Resources Repository Delete Branch
🤬
Delete Branch
Delete specified branch
Http Method
DELETE
End Point
/~api/repositories/{projectId}/branches/{branch:.*}
Placeholder Description Example
{projectId} Project Id 1
{branch} Branch test-branch
Response
Operation Successful
Status Code
200
Response Body
No response body
Operation Failed
Status code
Status code other than 200 indicating the error type
Response Body
Error detail of content type "text/plain"
cURL Example
$ curl -u <login name>:<password or access token> -X DELETE https://crash.software/~api/repositories/1/branches/test-branch
Please wait...
Page is in error, reload to recover