Skip to content

Delete Records

Ed Mozley edited this page Dec 5, 2026 · 2 revisions

Delete records

(After 5.19.0, #530, asked for by @bbieganski; the bin was Ed's idea.) System β†’ Maintenance β†’ Delete records, administrators only.

Some records should never have existed: a test laptop, a person typed in twice, somebody imported by a directory that was set up wrong. This tool removes an asset or a person without anyone editing the database - and shows everything that depends on it first, so the decision is made knowingly. A wrong delete can be put right from the tool's own Bin.

Deleting a record

  1. Open System β†’ Maintenance β†’ Delete records.
  2. Choose Asset or Person and type a name, email, tag or number. Only records in companies you can reach are found.
  3. Pick the record. The page shows What deleting it touches: every place that names it, how many rows, and what a delete does there -
    • Deleted with it - what belongs to the record: an asset's history, its links to tickets, who holds it; a person's email addresses, audit, the assets and licence seats given to them.
    • Kept, no longer naming it - records that outlive it: a ticket keeps its subject and loses the person who raised it; an asset checkout log keeps the entry.
  4. Retire instead comes first where the record can be retired - for anything real, this is the right choice:
    • an asset moves to the first status ticked Retired (Assets β†’ Settings β†’ Asset statuses); it leaves the estate but keeps its history, tickets and links. If no status is ticked Retired, the page says so.
    • a person is marked as left; they stay on their tickets and records but are no longer offered anywhere.
  5. Delete needs the record's name typed (any case). It goes into the Bin.

What deleting an asset touches, Retire, and the typed confirmation

When a delete is refused, or warned about

  • A person a directory source still imports cannot be deleted: the next import would create them again. Switch that source's import off, or narrow it, under System β†’ Authentication, then delete. The page says which source.
  • An asset an inventory source still reports (the agent, Intune, an import) can be deleted, with a warning: its next run may create it again.

Deleting a company - only when it is empty

Choose Company and pick it. A company is deleted only when nothing is left in it (decided 5 December 2026):

  • Still in this company lists everything that names it - people, tickets, assets, articles, changes and the rest - with how many of each. Move them to another company (each module's Move to company), or delete them, first. Until then Delete is refused, saying so.
  • Its own settings - mail domains and senders, ticket categories and fields, who may work in it, its workflows and cost centres - are listed under What deleting it touches and go into the Bin with it. Restore brings them back.
  • Retire marks the company inactive instead: its records stay, and it is no longer offered for new ones.
  • The Default company cannot be deleted.

The Bin, and Restore

The Bin tab lists every delete: the record, when and by whom, how many rows went with it, and until when it can be restored.

The Bin: a deleted asset, kept until a date, with Restore

  • Restore puts it all back exactly as it was - the record with its own number, every row its delete removed, and its name back on the records that kept going without it.
  • A restore is refused, saying why, if something has changed that would clash: its number is in use again, another person now has the same email or username (often because a directory imported them again), another asset in the company has the same service tag or asset tag, another company now has the same name, or a row made since takes the same place. Nothing is half-restored.
  • Keep deleted records for at the top of the Bin: 7, 30, 90 or 365 days - 30 unless changed. After that the copy goes for good; the entry stays in the list as the record that the delete happened.

Every Retire, Delete and Restore is in the system log (record_delete).

Settings

Setting Where Default What it does
Keep deleted records for Delete records β†’ Bin 30 days How long Restore is possible. Stored as record_bin_days in system_settings

Related

FreeITSM

Getting Started

Modules

Multi-tenancy (planned)

Responses to feedback

Blue sky thinking

Bugs resolved

Pull requests

Links

Clone this wiki locally