Delete ServiceNow records with confirmation gates, force flags, and read-only profiles that block destructive commands.
| Command | What it does |
|---|---|
jsn records delete --table incident --sys-id <id> | Deletes are blocked without --force |
jsn records delete --table incident --sys-id <id> --force | Force flag skips the confirmation |
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
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 →