Delete records, safely — jsn

Read-only by default. Deletes need --force; read-only profiles block writes entirely.

CommandWhat it does
jsn records delete --table incident --sys-id <id>Deletes are blocked without --force
jsn records delete --table incident --sys-id <id> --forceForce flag skips the confirmation
$ jsn records delete
$ jsn records delete --table incident --sys-id <id>

Error: Delete record from incident (57e8723483fe8f10f7bfc670ceaad3aa) — confirmation required. Pass --force to skip, or set skip_confirmations on the profile to disable prompts.

This is a destructive action. Ask your user to confirm, then re-run:
  jsn records delete --force
Or set skip_confirmations on the profile to disable prompts:
  jsn auth login <instance> --skip-confirmations

$ jsn records delete --table incident --sys-id 57e8723483fe8f10f7bfc670ceaad3aa --force
Deleted record from incident

Get started

Install, point it at your instance, then run this feature.

$ npm install -g @jacebenson/jsn
$ jsn setup
$ jsn records delete --table incident --sys-id <id>
Full setup guide & skill docs →

← All features