Delete a post-call action
Remove one post-call action from the agent. The agent's other actions are not changed.
agent_idrequiredaction_idrequireduser_idintegerReseller keys only: act as one of your clients by its user id. Omit it to act on your own account. [How acting for a client works](/docs/reseller/your-clients/acting-as-clients).
curl -X DELETE 'https://backend.omnidim.io/api/v1/agents/{agent_id}/post-call-actions/{action_id}' \ -H 'Authorization: Bearer YOUR_API_KEY'
{ "deleted": 0, "applies_after_publish": false }
BearerAuthAuthorizationBearer <token>Bearer token authentication. Obtain your API key from the OmniDimension dashboard.
agent_id*integerThe ID of the agent.
action_id*integerThe ID of the post-call action.
user_id?integerReseller keys only: act as one of your clients by its user id. Omit it to act on your own account. How acting for a client works.
Response body
application/jsonThe action was removed.
application/jsondeleted?integerThe id of the removed action.
applies_after_publish?AppliesAfterPublishFalse for an agent that has never been published: the change is live on the next call. True when the agent is published: changes go to the draft, so they reach live calls only after you publish the agent in the dashboard.
