MEGA icon

MEGA

Manage conversations, contacts, WhatsApp, Kanban CRM and Captain AI in MEGA

Actions417

Agent → Delete

AI-generated

Summary

Delete an agent from a specified account while optionally specifying how to handle conversations currently assigned to that agent.

Inputs

  • Account (required) — Select the account from which the agent will be deleted. Choose either from a searchable list or by providing the numeric account ID.
  • Agent (required) — Select the agent to delete within the chosen account. Choose either from a searchable list of agents or by providing the numeric agent ID.
  • Conversation Handling (required) — Specify the action to take for conversations currently assigned to the agent being deleted: either reassign those conversations to a replacement agent or unassign them.
  • Replacement Agent (required) — If reassigning conversations, select an eligible agent to receive all conversations previously assigned to the deleted agent. Choose either from a searchable list or by providing the numeric ID. This input is required only if reassigning is selected as the conversation handling action.

Output shape

a single JSON object representing the result of the delete operation, typically including confirmation of deletion and any reassignment outcomes

You must specify the account and agent to delete. When choosing to reassign conversations, you must provide a replacement agent ID. The output will confirm the deletion of the agent and reflect the handling of assigned conversations as per the provided inputs.

Links

Discussion