---
title: "Delete a settlement rule"
method: DELETE
path: "/virtual-accounts/{accountId}/settlement-rules/{settlementRuleId}"
tags: ["Settlement Accounts"]
---

# Delete a settlement rule

`DELETE /virtual-accounts/{accountId}/settlement-rules/{settlementRuleId}`

## Request

- Base URL: `https://api.token.io`
- URL: `https://api.token.io/virtual-accounts/{accountId}/settlement-rules/{settlementRuleId}`
- Auth: one of:
  - HTTP bearer
  - API key in header `Authorization`

The ` DELETE /virtual-accounts/{accountId}/settlement-rules/{settlementRuleId}` endpoint delete an active settlement rule, for a given settlement account.

## Path parameters

- `accountId` string, required
- `settlementRuleId` string, required

## Response `200`

Successful response

- DeleteVirtualAccountSettlementRuleResponse: No data returned in the successful response.

## Other responses

- `400`: The client specified an invalid argument
- `401`: The authorization information is missing or invalid
- `403`: Permission to access this endpoint is denied
- `404`: The requested entity, such as a settlement rule, was not found
- `429`: Too many requests
- `500`: An unexpected or internal server error
- `501`: The operation was not implemented
- `503`: Service is unavailable
- `504`: Gateway has timed out

---

[API](https://skmtc.dev/token/apis/token-io-s-open-banking-api-for-tpps.md) - [All operations](https://skmtc.dev/token/apis/token-io-s-open-banking-api-for-tpps/llms.txt) - [OpenAPI document](https://skmtc.dev/token/apis/token-io-s-open-banking-api-for-tpps/revisions/f705d3537678?raw)
