---
title: "Delete payment plan"
method: DELETE
path: "/payment-plans/{paymentPlanId}"
tags: ["Payment Plans"]
---

# Delete payment plan

`DELETE /payment-plans/{paymentPlanId}`

Delete a payment plan by id. This operation will also delete all subscriptions subscribed to the indicated plan and remove the plan from all associated payment links. Any payment link with only this plan as an option will be deleted.

## Path parameters

- `paymentPlanId` integer, required

## Headers

- `api-token` string, required

## Response `204`

Successfully deleted payment plan from database.

## Other responses

- `401` — You are not authorized to access this resource. Please ensure that you are authenticated, and that you are using the `api-token` header
- `403` — You do not have permission to access this resource. Please ensure you are both authenticated and that you have the required roles/permissions active.
- `404` — No resource(s) found for the given request. If you have not used query parameters with your request your business currently has no resource(s) matching the specified values.
- `500` — Helcim internal server error encountered.

---

[API](https://skmtc.net/helcim/apis/the-helcim-api.md) · [All operations](https://skmtc.net/helcim/apis/the-helcim-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/helcim/the-helcim-api/versions/345052ca6578/schema)
