---
title: "Delete a membership from an invoice"
method: DELETE
path: "/v1/invoices/{invoice_id}/invoiceitems/{invoice_item_id}#"
---

# Delete a membership from an invoice

`DELETE /v1/invoices/{invoice_id}/invoiceitems/{invoice_item_id}#`

## Request

- Base URL: `https://api.zenoti.com`
- URL: `https://api.zenoti.com/v1/invoices/{invoice_id}/invoiceitems/{invoice_item_id}#`
- Auth: none required
- TypeScript: <https://skmtc.dev/zenoti/apis/zenoti-authentication/docs/v1/invoices/:invoice_id/invoiceitems/:invoice_item_id%23/delete.ts> (a function with typed inputs; its response is checked against the schema)

Provide a unique identifier of the invoice as invoice_id and invoice_item_id of the membership you want to delete from the invoice and this API will delete that item from the invoice.

**Note**: Comments are either mandatory or optional based on your configuration. If the comments are optional, then pass "comments" as an empty string ("") in the body of the API.

Ensure to remove the hash (#) at the end when using this API.

## Path parameters

- `invoice_id` string, required
- `invoice_item_id` string, required

## Request body

- object
  - `comments` string: Comments from guest.

## Response `200`

200

- object
  - `success` boolean
  - `message` string
  - `error` unknown

## Other responses

- `400`: 400

---

[API](https://skmtc.dev/zenoti/apis/zenoti-authentication.md) - [All operations](https://skmtc.dev/zenoti/apis/zenoti-authentication/llms.txt) - [OpenAPI document](https://skmtc.dev/zenoti/apis/zenoti-authentication/revisions/e628f892391a?raw)
