Assign Agent Private Cloud (APC) to an Agent

Payload Example

agent_apc_assign_payload = {
                            "groc_account_id":"c4ca4238a0b923820dcc509a6f75849b",
                            "apc_id": "0a2c8913-88fc-4441-ac7e-ac726d5b8779",
                            "agent_uuid": "6771233a1333h13113",
                            "agent_type": "gateway"
                          }

Usage Example


agent_apc_assign = agentlake.apc_agent_assign(agent_apc_assign_payload )
print("Agent APC assigned:",  agent_apc_assign)

Example Code

agent_apc_assign_payload = {
                            "groc_account_id":"c4ca4238a0b923820dcc509a6f75849b",
                            "apc_id": "0a2c8913-88fc-4441-ac7e-ac726d5b8779",
                            "agent_uuid": "6771233a1333h13113",
                            "agent_type": "gateway"
                          }

agent_apc_assign = agentlake.apc_agent_assign(agent_apc_assign_payload )
print("Agent APC assigned:",  agent_apc_assign)

Example Response

Agent APC assigned: {'agent_uuid': '6771233a1333h13113', 'apc_id': '0a2c8913-88fc-4441-ac7e-ac726d5b8779', 'message': 'Agent assigned to apc.'}

Last updated