# Delete settlement scheduler
URL: /api-reference/accounts/settlement-scheduler/delete-settlement-scheduler

Deletes the settlement scheduler of the specified account. Idempotent - deleting a non-existent scheduler succeeds.

- `DELETE /accounts/{accountId}/settlement-scheduler`

```json
{
  "servers": [
    {
      "url": "https://accounts.sandbox.volt.io",
      "description": "Sandbox"
    },
    {
      "url": "https://accounts.volt.io",
      "description": "Production"
    }
  ],
  "paths": {
    "/accounts/{accountId}/settlement-scheduler": {
      "delete": {
        "tags": [
          "Settlement scheduler"
        ],
        "summary": "Delete settlement scheduler",
        "operationId": "delete-settlement-scheduler",
        "parameters": [
          {
            "$ref": "#/components/parameters/XVoltApiVersion"
          },
          {
            "name": "accountId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            },
            "description": "Unique identifier of the account."
          }
        ],
        "responses": {
          "204": {
            "description": "Settlement scheduler deleted."
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "401": {
            "$ref": "#/components/responses/401"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "500": {
            "$ref": "#/components/responses/500"
          }
        }
      }
    }
  },
  "components": {
    "securitySchemes": {
      "BearerAuth": {
        "type": "http",
        "scheme": "bearer",
        "bearerFormat": "JWT"
      }
    },
    "parameters": {
      "XVoltApiVersion": {
        "name": "X-Volt-Api-Version",
        "in": "header",
        "description": "Version of the API used. Currently, version `1` is the only version.",
        "required": true,
        "schema": {
          "type": "integer",
          "enum": [
            1
          ],
          "examples": [
            1
          ]
        }
      }
    },
    "responses": {
      "400": {
        "description": "**Bad request** - Request you sent is invalid or malformed. Response will contain a description of the actual problem.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Error400Response"
            }
          }
        }
      },
      "401": {
        "description": "**Unauthorized** - Your credentials were invalid. It may be that the token you've used has expired. Try re-authenticating with valid or updated credentials and retry this request.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Error401Response"
            }
          }
        }
      },
      "403": {
        "description": "**Access denied** - Although your credentials are correct, your access to this section of the API has been disabled or limited. Subsequent requests to this endpoint will not be processed.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Error403Response"
            }
          }
        }
      },
      "500": {
        "description": "**Internal server error** - Something went wrong and request cannot be processed due to server error. Message will contain trace ID and timestamp, which allows to investigate what went wrong.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Error500Response"
            }
          }
        }
      }
    },
    "schemas": {
      "Error400Response": {
        "type": "object",
        "description": "Error response for HTTP 400 Bad Request.",
        "properties": {
          "code": {
            "type": "string",
            "description": "Error code.",
            "enum": [
              "BAD_REQUEST",
              "INVALID_PATH_VARIABLE",
              "MISSING_HTTP_HEADER",
              "INVALID_HTTP_HEADER",
              "MALFORMED_PATH_PARAM",
              "MISSING_QUERY_PARAM",
              "INVALID_QUERY_PARAM",
              "MALFORMED_QUERY_PARAM",
              "CONFIGURATION_ERROR"
            ]
          },
          "message": {
            "type": "string",
            "description": "Error message."
          }
        },
        "required": [
          "code",
          "message"
        ]
      },
      "Error401Response": {
        "type": "object",
        "description": "Error response for HTTP 401 Unauthorized.",
        "properties": {
          "code": {
            "type": "string",
            "description": "Error code.",
            "enum": [
              "UNAUTHORISED"
            ]
          },
          "message": {
            "type": "string",
            "description": "Error message."
          }
        },
        "required": [
          "code",
          "message"
        ]
      },
      "Error403Response": {
        "type": "object",
        "description": "Error response for HTTP 403 Forbidden.",
        "properties": {
          "code": {
            "type": "string",
            "description": "Error code.",
            "enum": [
              "ACCESS_DENIED"
            ]
          },
          "message": {
            "type": "string",
            "description": "Error message."
          }
        },
        "required": [
          "code",
          "message"
        ]
      },
      "Error500Response": {
        "type": "object",
        "description": "Error response for HTTP 500 Internal Server Error.",
        "properties": {
          "code": {
            "type": "string",
            "description": "Error code.",
            "enum": [
              "INTERNAL_SERVER_ERROR"
            ]
          },
          "message": {
            "type": "string",
            "description": "Error message."
          }
        },
        "required": [
          "code",
          "message"
        ]
      }
    }
  }
}
```