MCP is live.Set upAsk the community
OmniDimension
Agents

Delete a post-call action

Remove one post-call action from the agent. The agent's other actions are not changed.

DELETE/agents//post-call-actions/
Path parameters
agent_idrequired
action_idrequired
Query parameters
user_idinteger

Reseller 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'
Example response
synthetic
{
  "deleted": 0,
  "applies_after_publish": false
}

Authorization

BearerAuth
headerAuthorizationBearer <token>

Bearer token authentication. Obtain your API key from the OmniDimension dashboard.

Path Parameters

agent_id*integer

The ID of the agent.

action_id*integer

The ID of the post-call action.

Query Parameters

user_id?integer

Reseller 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/json

Response Body

The action was removed.

application/json
deleted?integer

The id of the removed action.

applies_after_publish?AppliesAfterPublish

False 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.