def delete_branch(self, branch_id: str) -> None:
    'Delete a branch\n\n        Parameters\n        ----------\n        branch_id : str\n            Branch to delete\n\n        Raises\n        ------\n        InterfaceError\n            if the client does not connect to a database\n        '
    self._check_connection()
    _finish_response(requests.delete(self._branch_url(branch_id), headers={'user-agent': f'terminusdb-client-python/{__version__}'}, auth=self._auth()))
Delete a branch

Parameters
----------
branch_id : str
    Branch to delete

Raises
------
InterfaceError
    if the client does not connect to a database
def delete_branch(self, branch_id: str) -> None:
    'Delete a branch\n\n        Parameters\n        ----------\n        branch_id : str\n            Branch to delete\n\n        Raises\n        ------\n        InterfaceError\n            if the client does not connect to a database\n        '
    self._check_connection()
    _finish_response(requests.delete(self._branch_url(branch_id), headers={'user-agent': f'terminusdb-client-python/{__version__}'}, auth=self._auth()))