

def delete(self, request, *args, **kwargs):
    instance = self.get_object()
    kwargs.perform_destroy(instance)
    return Response(status=status.HTTP_204_NO_CONTENT)

dataset/ETHPy150Open ekonstantinidis/django-rest-framework-docs/tests/views.py LeaveOrganisationView.delete/VarMisuse@26/28 `self`->`kwargs`