Skip to content
Release: Australia · Updated: 2026-03-12 · Official documentation · View source

Delete a record

Deletes the specified record from the specified table.

Before you begin

Role required: sn_cli_metadata.cli_admin, sn_cli_metadata.cli_user, or admin

Procedure

  1. Open your system's command-line tool and execute this command.

    $ snc record delete [--table table --sysid sys_id]
    

    Pass in values for these arguments.

    ParameterDescription
    tableRequired. Name of the table in which to delete the record.
    sysidRequired. Sys_id of the record to delete.

Example

$ snc record delete --table incident --sysid 552c48888c033300964f4932b03eb092

Parent Topic:Perform record operations using ServiceNow CLI