Delete a branch.
URI: /sap/opu/odata/sap/MANAGE_GIT_REPOSITORY/Branches
Operation Type: CRUD
**HTTP Method:**DELETE
Parameter |
Required |
Data Type |
Description |
Parameter Type |
---|---|---|---|---|
sc_name |
yes |
string |
name of the software component |
query string |
branch_name |
yes |
string |
name of the branch |
query string |
DELETE /sap/opu/odata/sap/MANAGE_GIT_REPOSITORY/Branches(branch_name='my-to-be-deleted-branch',sc_name='/DMO/GIT_REPOSITORY') HTTP/1.1 Host: host.com Authentication: basicAuthentication Accept: application/json
HTTP/1.1 204 No Content
Code |
Reason |
Description |
---|---|---|
204 |
No content |
Branch was deleted successfully |
400 |
Bad Request |
Could not delete branch due to the values passed in the request body. |