# Reverse an Entire Action via API

If you want to reverse an entire action (i.e., zero out the entire commission), use the call below using the `ActionId` value.

#### Parameter reference

| Parameter         | Description                                                                                                                                                                                                                                              |
| ----------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `AccountId`       | Your impact.com account's API account ID value. [Learn how to find this value](https://help.impact.com/en/support/solutions/articles/155000000004-get-brand-api-access-credentials).                                                                     |
| `AuthToken`       | Your impact.com account's API authorization token value. [Learn how to find this value](https://help.impact.com/en/support/solutions/articles/155000000004-get-brand-api-access-credentials).                                                            |
| `ActionId`        | The ID value of the action to be modified.                                                                                                                                                                                                               |
| `DispositionCode` | The Disposition Code for reversing the action. If you're not using custom disposition codes, submit `REJECTED`. [Learn more about disposition codes](https://help.impact.com/brand/platform-features/tracking/set-up-tracking/manage-disposition-codes). |

{% tabs %}
{% tab title="Example call" %}

```programlisting
curl 'https://api.impact.com/Advertisers/{AccountSID}/Actions' \
  -X DELETE \
  -u '{AccountSID}:{AuthToken}' \
  -H 'Accept: application/json' \
  -H 'Content-Type: application/x-www-form-urlencoded' \
  -d 'ActionId={ActionId}' \
  -d 'DispositionCode={DispositionCode}'
```

{% endtab %}

{% tab title="Example response" %}

```programlisting
{
  "Status": "QUEUED",
  "QueuedUri": "/Advertisers/{AccountSID}/APISubmissions/A-86b9-56992f50eefe"
}  
```

{% endtab %}
{% endtabs %}
