---
title: "Delete a summary statement"
method: DELETE
path: "/v1/summary-statements/{summaryStatementKey}"
tags: ["Summary Statements"]
---

# Delete a summary statement

`DELETE /v1/summary-statements/{summaryStatementKey}`

Deletes a specific summary statement.

You can delete a summary statement only when both the summary statement and its
parent summary statement run are in terminal states.

Allowed summary statement statuses:
  - `Completed`
  - `Canceled`
  - `Error`
  - `Previewing` (for temporary preview statements)

Allowed parent summary statement run statuses:
  - `Completed`
  - `Error`
  - `Terminated`

Error scenarios:
  - Returns `400 INVALID_VALUE` if the summary statement status is `Pending` or `Processing`
  - Returns `400 INVALID_VALUE` if the parent summary statement run status is `Pending` or `Processing`
  - Returns `404 NOT_FOUND` if the summary statement does not exist

## Path parameters

- `summaryStatementKey` string, required

## Headers

- `Accept-Encoding` string
- `Content-Encoding` string
- `Authorization` string
- `Zuora-Track-Id` string
- `Zuora-Entity-Ids` string
- `Zuora-Version` string
- `Zuora-Org-Ids` string

## Response `200`

OK

- CommonResponse
  - `processId` string — The ID of the process that handles the operation.
  - `reasons` object[] — The container of the error code and message. This field is available only if the `success` field is `false`.
    - `code` string — The error code of response.
    - `message` string — The detail information of the error response
  - `requestId` string, uuid — Unique identifier of the request.
  - `success` boolean — Indicates whether the call succeeded.

## Other responses

- `500` — Internal Server Error
- `4XX` — Request Errors

---

[API](https://skmtc.dev/zuora/apis/api-reference.md) · [All operations](https://skmtc.dev/zuora/apis/api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/zuora/api-reference/revisions/d11e237f3e54/schema)
