# Delete adjustment

Source: https://developer.avalara.com/products/returns/integration-guides/managed-returns/iis3406663796148/

Guide: Avalara Managed Returns API (U.S. and Canada)

# Delete adjustment

Learn how to delete a filing adjustment using the Avalara GraphQL API.

The delete filing adjustment operation lets you delete an existing filing adjustment. This action permanently deletes an adjustment that was previously created.

Note

A filing adjustment can only be deleted before it has been approved.

**Prerequisites**

-   Company ID
-   Adjustment ID
-   The filing associated with the adjustment must be in an unapproved state

To delete an existing filing adjustment, use the `DeleteFilingAdjustment` mutation.

## View request

```
mutation DeleteFilingAdjustment {
  DeleteFilingAdjustment(companyId: 9882216, adjustmentId: 5185530) {
    success
    message
  }
}
```

## View response

```
{
  "data": {
    "DeleteFilingAdjustment": {
      "success": true,
      "message": null
    }
  }
}
```

A successful deletion returns a confirmation indicating the operation was completed successfully.

## Result

After successful deletion:

-   The filing adjustment is permanently removed.
-   The adjustment can no longer be retrieved or modified.
-   The associated filing remains unchanged.