def delete_endpoint(self, endpoint_id):
self._validate_uuid(endpoint_id)<EOL>url = "<STR_LIT>".format(endpoint_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 endpoint
:param endpoint_id: is the endpoint that the client wants to delete