---
title: "Delete an AMM rule"
method: DELETE
path: "/programs/{programCode}/accounts/{accountIdentifier}/ammRule"
tags: ["AMMRule"]
---

# Delete an AMM rule

`DELETE /programs/{programCode}/accounts/{accountIdentifier}/ammRule`

Deletes an Auto Money Movement (AMM) rule for the specified account and rule ID.

## Path parameters

- `programCode` string, required
- `accountIdentifier` string, required

## Headers

- `X-GD-RequestId` string, required

## Request body

- DeleteAMMRuleRequest — Represents a request to delete an Automated Money Movement (AMM) rule. Contains the source account identifier and the unique rule ID to be deleted. Inherits standard request metadata from Gd.Bos.DataTransfer.Request.RequestBase.
  - `ruleID` integer, required — The unique identifier for the AMM rule to delete.

## Response `200`

OK

- DeleteAMMRuleResponse — Represents the response returned after deleting an Automated Money Movement (AMM) rule. Used to indicate the outcome of an AMM rule deletion operation. Inherits standard response metadata from Gd.Bos.DataTransfer.Response.ResponseBase.
  - `responseDetails` ResponseDetail[], nullable — Required: A list of response details providing status codes, descriptions, and additional information about the result of the operation.
    - `code` integer — The primary status or error code for the response (e.g., 200 for success, 400 for validation error).
    - `subCode` integer, nullable — An optional subcode providing more granular detail about the response or error.
    - `description` string, nullable — A human-readable description of the response, error, or status.
    - `url` string, nullable — A URL linking to documentation or a web page with more information about the response code.

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `500` — Internal Server Error
- `503` — Service Unavailable

---

[API](https://skmtc.net/greendot/apis/baas-apis.md) · [All operations](https://skmtc.net/greendot/apis/baas-apis/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/greendot/baas-apis/versions/666553766b78/schema)
