Skip to content

Disconnect a sender from an agent

View .md
DELETE

Stop the agent answering on this sender. The agent's primary sender is part of the agent itself and cannot be disconnected here.

Authorization

  • Authorizationheaderrequired

    Bearer YOUR_API_KEY. Create a key in the dashboard.

Path parameters

  • agentIdstringrequired

    Agent ID.

  • senderIdstringrequired

Responses

204Sender disconnected.
400That sender is the agent's primary, or is not connected to it.
  • codestringrequired
  • messagestringrequired
  • detailsobject
401Unauthorized.
  • codestringrequired
  • messagestringrequired
  • detailsobject
404Agent not found.
  • codestringrequired
  • messagestringrequired
  • detailsobject