示例#1
0
def delete_user(context, user, user_id):
    User.deactivate_user(context, user_id)
    return Response(response='Resource deleted successfully', status=200)
示例#2
0
def delete_user(context, user_id, user):
    User.deactivate_user(context, user_id)
    return Response(status=200, response="Resource deleted")