---
title: "Delete support ticket"
method: POST
path: "/ticket/delete"
tags: ["Support"]
---

# Delete support ticket

`POST /ticket/delete`

## Request

- Base URL: `https://demo.onlinebillingform.com/api/v2`
- URL: `https://demo.onlinebillingform.com/api/v2/ticket/delete`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/billingserv/apis/billingserv-api-v2/docs/ticket/delete/post.ts> (a function with typed inputs; its response is checked against the schema)

Use this BillingServ API endpoint to delete support ticket. Review the response for the operation result or validation errors.

## Request body

- object
  - `id` integer, required: Support ticket ID. Deleting a ticket also deletes all of its messages.

## Response `200`

OK

- ApiResponse
  - `success` boolean

## Other responses

- `401`: Missing or invalid API key
- `403`: Authenticated key does not have permission for this endpoint
- `404`: Support ticket not found
- `422`: Validation error

## Changes

- **2026-08-22** `6b9208b64456`: 8 info
  - added the optional property `code` to the response with the `401` status
  - added the optional property `code` to the response with the `403` status
  - added the optional property `code` to the response with the `404` status
  - added the optional property `code` to the response with the `422` status
  - …4 more

[Operation history](https://skmtc.dev/billingserv/apis/billingserv-api-v2/changes/ticket/delete/post.md)

---

[API](https://skmtc.dev/billingserv/apis/billingserv-api-v2.md) - [All operations](https://skmtc.dev/billingserv/apis/billingserv-api-v2/llms.txt) - [OpenAPI document](https://skmtc.dev/billingserv/apis/billingserv-api-v2/revisions/232ab5ca8413?raw)
