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

Parameters: remove_tag
NameTypeDescription
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
curl -X DELETE "https://cotlet.dev/api/v1/zammad/tickets/1/tags?tag=tag" \
  -H "Authorization: Bearer $COTLET_API_KEY"
Python
result = client.call("zammad", "remove_tag", {"ticket_id":1,"tag":"tag"})
Node.js
const result = await cotlet.call('zammad', 'remove_tag', {"ticket_id":1,"tag":"tag"});
CLI
cotlet call zammad remove_tag --data '{"ticket_id":1,"tag":"tag"}'

Example response

JSON

{
  "ticket_id": 4812,
  "tags": [
    "billing"
  ]
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.