Remove tag
Remove a tag from a ticket.
DELETE https://cotlet.dev/api/v1/zammad/tickets/{ticket_id}/tags
write
Removes one tag from one ticket and returns the ticket's tags. The tag itself stays in Zammad for other tickets. It reaches no customer and add_tag undoes it, so it does not wait for your OK.
Parameters
| Name | Type | Description |
|---|---|---|
| ticket_id integer required | integer | Ticket ID from search_tickets, list_overview_tickets or the ticket address (#ticket/zoom/{ticket_id}). |
| tag string required | string | Tag name to remove. |
Request
curl -X DELETE "https://cotlet.dev/api/v1/zammad/tickets/1/tags?tag=tag" \
-H "Authorization: Bearer $COTLET_API_KEY" result = client.call("zammad", "remove_tag", {"ticket_id":1,"tag":"tag"}) const result = await cotlet.call('zammad', 'remove_tag', {"ticket_id":1,"tag":"tag"}); cotlet call zammad remove_tag --data '{"ticket_id":1,"tag":"tag"}' Example response
{
"ticket_id": 4812,
"tags": [
"billing"
]
}