---
title: "Mark or unmark a ticket as spam"
method: POST
path: "/v1/brands/{brandId}/tickets/{ticketId}/spam"
tags: ["tickets"]
---

# Mark or unmark a ticket as spam

`POST /v1/brands/{brandId}/tickets/{ticketId}/spam`

## Request

- Base URL: `https://api.dispatchtickets.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.dispatchtickets.com/v1/brands/{brandId}/tickets/{ticketId}/spam`
- Auth: HTTP bearer

## Path parameters

- `ticketId` string, required

## Request body

- MarkAsSpamDto
  - `isSpam` boolean, required: Whether to mark the ticket as spam

## Response `200`

Ticket spam status updated

---

[API](https://skmtc.dev/dispatchtickets/apis/dispatch-tickets-api.md) · [All operations](https://skmtc.dev/dispatchtickets/apis/dispatch-tickets-api/llms.txt) · [OpenAPI document](https://skmtc.dev/dispatchtickets/apis/dispatch-tickets-api/revisions/acf63fed8702?raw)
