Delete Asset

freshservice.delete_asset
ActionBusiness appsconnection required

Calls the Freshservice API with the connection's credentials.

Move a Freshservice asset 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
display_id
The asset's display id — the number Freshservice shows on the asset and uses in its URL.
stringYes——11

Example configuration

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

{
  "display_id": "11"
}

Output

One shape.

result

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

Notes

  • This is the trash, not an erase: Freshservice keeps separate restore and delete-forever operations, and neither is exposed here.

See Delete Asset 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.