def delete_dispatch(self, dispatch_id):
self._validate_uuid(dispatch_id)<EOL>url = "<STR_LIT>".format(dispatch_id)<EOL>response = NWS_DAO().deleteURL(url, self._write_headers())<EOL>if response.status != <NUM_LIT>:<EOL><INDENT>raise DataFailureException(url, response.status, response.data)<EOL><DEDENT>return response.status<EOL>
Deleting an existing dispatch
:param dispatch_id: is the dispatch that the client wants to delete