---
title: "Delete a payment method"
method: DELETE
path: "/v1/payment-methods/{publicId}"
tags: ["PaymentMethod"]
---

# Delete a payment method

`DELETE /v1/payment-methods/{publicId}`

## Request

- Base URL: `https://api.fortrabbit.com`
- URL: `https://api.fortrabbit.com/v1/payment-methods/{publicId}`
- Auth: HTTP bearer

Deletes the payment method together with every app booked on it and all of their environments. This cannot be undone.

## Path parameters

- `publicId` string, required

## Response `204`

PaymentMethod resource deleted

## Other responses

- `404`: Not found

---

[API](https://skmtc.dev/fortrabbit/apis/fortrabbit-api.md) · [All operations](https://skmtc.dev/fortrabbit/apis/fortrabbit-api/llms.txt) · [OpenAPI document](https://skmtc.dev/fortrabbit/apis/fortrabbit-api/revisions/36ca73befa52?raw)
