Getting started with REST - delete the incident

Delete the incident using a DELETE request.

Before you begin

Role required: web_service_admin, rest_api_explorer, or admin

About this task

Use the REST API Explorer to send the following request:

DELETE https://instance.service-now.com/api/now/v1/table/incident/(sys_id)

Procedure

  1. In the top-left of the REST API Explorer, click Delete a record (DELETE).
  2. In the Path Parameters section, select the Incident table.
  3. In the sys_id field, enter the sys_id of the record you created.
  4. Click Send.
  5. Verify that the response status code is 204.
    Delete record response