Mark ticket as spam
POST {{baseUrl}}/api/v1/tickets/markSpam
This API marks tickets as spam.
OAuth Scope
Desk.tickets.UPDATE
Attributes
| Attribute Name | Data Type | Description |
|---|---|---|
| isSpam (required) | <boolean> | Key that marks or unmarks a single ticket or multiple tickets as spam |
| ids (required) | <list> | ID(s) of the ticket(s) that must be marked or unmarked as spam |
| contactSpam | <boolean> | Key that marks or unmarks the associated contact as spam |
| handleExistingTickets | <boolean> | Key that marks or unmarks the other tickets from the contact(s) as spam |
HEADERS
| Key | Datatype | Required | Description |
|---|---|---|---|
Authorization | string |
RESPONSES
status: OK
""