'Delete a message.'

@wsgi.Controller.api_version(MESSAGES_BASE_MICRO_VERSION)
def delete(self, req, id):

    context = req.environ['cinder.context']
    message = self.message_api.get(context, id)
    check_policy(context, 'delete', message)
    self.message_api.delete(context, message)
    return webob.Response(status_int=http_client.NO_CONTENT)
