For the complete documentation index, see llms.txt. This page is also available as Markdown.

Remove ticket links

Removes links from a ticket, keeping all other links

Remove links from a ticket

post

Removes the given links, keeping every other link on the ticket. Links that don't exist are ignored. Removing a link requires access to both tickets. At most 20 links per call. Ticket ids may be given in display form, e.g. INC-123.

Authorizations
AuthorizationstringRequired

Harmony access key, sent as Authorization: AccessKey <your-key>. Create keys in Settings > Access Keys. The tenant is resolved from the key.

Path parameters
ticket_idstringRequired
Body
Responses
200

Successful Response

application/json
changedintegerRequired

How many of the requested links were added or removed. Links already as requested are not counted.

post/api/v1/tickets/{ticket_id}/links/remove
POST /service-desk/api/v1/tickets/{ticket_id}/links/remove HTTP/1.1
Host: api.harmony.io
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 66

{
  "links": [
    {
      "target_ticket_id": "text",
      "link_type": "duplicate_of"
    }
  ]
}
{
  "changed": 1
}

Last updated

Was this helpful?