Skip to main content

ClearAgentPrimaryDID removes the primary DID from an agent.

DELETE 

/api/v1/voice/agents/:agentId/primary-did

After clearing, the agent has no default outbound caller ID.

Parameters​

  • agent_id: Required, agent to update

Errors​

  • NOT_FOUND: Agent does not exist
  • PERMISSION_DENIED: Caller lacks voice:agent:write permission

Request​

Responses​

A successful response.