> ## Documentation Index
> Fetch the complete documentation index at: https://docs.equalsmoney.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Delete a payment batch

> You can delete existing payment batches from your account when they're no longer needed. You probably don't need the test batch we added earlier, so l

# Step 4: delete a payment batch

You can delete existing payment batches from your account when they're no longer needed. You probably don't need the test batch we added earlier, so let's remove it.

<CodeGroup>
  ```bash Sample request theme={null}
  curl -i -X DELETE \
    'https://api.equalsmoney.com/v2/payment-batches/{paymentBatchId}?accountId=F50091' \
    -H 'Authorization: YOUR_API_KEY_HERE' \
    -H 'requestid: string' \
  ```

  ```bash Request structure theme={null}
  curl -i -X DELETE \
    'https://api.equalsmoney.com/v2/payment-batches/{paymentBatchId}?accountId=F50091' \
    -H 'Authorization: YOUR_API_KEY_HERE' \
    -H 'requestid: string' \
  ```
</CodeGroup>

If your request is successful, you'll receive a `204` No Content response.
