# Delete a post-call action (/docs/api-reference/agents/deletePostCallAction)

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

**DELETE** `/agents/{agent_id}/post-call-actions/{action_id}`

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

```yaml
operationId: deletePostCallAction
parameters:
  - in: query
    name: user_id
    required: false
    description: |
      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).
    schema:
      type: integer
      description: |
        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).
      example: 1234
responses:
  '200':
    description: The action was removed.
    content:
      application/json:
        schema:
          type: object
          properties:
            deleted:
              type: integer
              description: The id of the removed action.
            applies_after_publish:
              type: boolean
              description: |
                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.
  '401':
    description: Missing or invalid API key.
  '403':
    description: The API key's user cannot make changes to agents.
  '404':
    description: |
      Agent or action not found. The action may have a new id after a
      dashboard edit: list the actions to find it.
```

**curl**

```bash
curl -X DELETE "https://backend.omnidim.io/api/v1/agents/{agent_id}/post-call-actions/{action_id}?user_id=1234" \
  -H "Authorization: Bearer $OMNIDIM_API_KEY"
```