---
title: "Delete a Statement Subscription"
method: DELETE
path: "/v1/users/{userId}/liabilities/subscriptions"
tags: ["Alerts & Monitoring"]
---

# Delete a Statement Subscription

`DELETE /v1/users/{userId}/liabilities/subscriptions`

## Request

- Base URL: `https://sandbox-api.spinwheel.io`
- URL: `https://sandbox-api.spinwheel.io/v1/users/{userId}/liabilities/subscriptions`
- Auth: one of:
  - API key in header `Authorization`
  - API key in header `Authorization`

API will delete subscriptions for subscriptionIds given in the DELETE body.

## Path parameters

- `userId` string, required

## Request body

- DeleteLiabilitySubscriptionsRequest
  - `subscriptionIds` string[]: The list of subscription IDs to be deleted.

## Response `200`

Response for credit card subscription

- DeleteLiabilitySubscriptionsResponse
  - `status` DeleteLiabilitySubscriptionsResponseStatus, required
    - `code` number
    - `desc` string
    - `messages` SubscriptionIdNotFoundMessage[]
      - `desc` string, required
      - `type` 'ERROR' | 'WARN' | 'INFO'
      - `subscriptionId` string, required: Id of the liability subscription

## Other responses

- `400`: Bad request response
- `401`: Unauthorized response
- `404`: Response for credit card subscription
- `500`: Internal server error response

---

[API](https://skmtc.dev/spinwheel/apis/optimize.md) - [All operations](https://skmtc.dev/spinwheel/apis/optimize/llms.txt) - [OpenAPI document](https://skmtc.dev/spinwheel/apis/optimize/revisions/6222309663d2?raw)
