def delete_user(context, user, user_id): User.deactivate_user(context, user_id) return Response(response='Resource deleted successfully', status=200)
def delete_user(context, user_id, user): User.deactivate_user(context, user_id) return Response(status=200, response="Resource deleted")