Example #1
0
def agent_profile_delete(req_dict):
    agent = req_dict['params']['agent']
    a = AgentManager(agent).Agent
    profileId = req_dict['params']['profileId']
    ap = AgentProfileManager(a)
    ap.delete_profile(profileId)

    return HttpResponse('', status=204)
Example #2
0
def agent_profile_delete(req_dict):
    agent = req_dict['params']['agent']
    a = AgentManager(agent).Agent
    profileId = req_dict['params']['profileId']
    ap = AgentProfileManager(a)
    ap.delete_profile(profileId)

    return HttpResponse('', status=204)