def delete_detail(self, request):
        """

        :param request: an apiv2 request object
        :return: request if successful with entities set on request
        """
        entity = request.context_params[self.detail_property_name]
        self.delete_entity(request, entity)
        return request
def delete_detail ( self , request ) : entity = request . context_params [ self . detail_property_name ] self . delete_entity ( request , entity ) return request
:param request: an apiv2 request object
        :return: request if successful with entities set on request