Delete boundary

Deletes a boundary by its ID

:param int boundary_Id: id of the boundary you want to delete

def delete_boundary(self, boundary_Id):

    url = self.caseserver_url + "/boundaries/" + str(boundary_Id)

    response = requests.delete(url, headers=self.delete_header)

    if(response.ok): print("boundary deleted successfully \n", response.text, "\n")
    else: 
        logger.error(f"boundary deletion failed: {response.content}")
        raise Exception
Language
Credentials
Header
Click Try It! to start a request and see the response here!