Delete Ticket

freshservice.delete_ticket
ActionBusiness appsconnection required

Calls the Freshservice API with the connection's credentials.

Move a Freshservice ticket to the trash, from where it can be restored.

Connection

Required
Yes — the node will not save without one
Auth type
API key
Providers
Freshservice
Secret shape
the API key, or {"api_key": "…"}
Config it needs
domain, workspace_id
Resolved by
config.connection_id, else node.connection_id

Configuration

1 field, 1 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.

FieldTypeRequiredDefaultConstraintsExample
ticket_id
The Freshservice ticket to act on, by its numeric id.
stringYes——265

Example configuration

Every value below is the contract’s own example or default — nothing invented.

{
  "ticket_id": "265"
}

Output

One shape.

result

FieldTypeExample
deleted
True once Freshservice accepted the delete.
boolean—
ticket_id
The ticket that was deleted.
string—
restorable
True because Freshservice moves the record to the trash and can restore it.
boolean—
{
  "deleted": false,
  "restorable": false,
  "ticket_id": ""
}

Notes

  • Deleting a parent service request deletes its child tickets too.

See Delete Ticket run in a workflow.

In a technical demo we add the Freshservice connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.