---
sourceDocument: Yokohama API Reference
sourceDocumentLink: https://www.servicenow.com/docs/r/yokohama/api-reference

 Release :

    - yokohama

ft:locale :

    - en-US

ft:publication_title :

    - Yokohama API Reference

ft:clusterId :

    - crapiref

bundleId :

    - crapiref

workflow :

    - Creator


---

# deleteRecord

# deleteRecord {#ariaid-title1}

* Release version: Yokohama
* 
* Updated January 30, 2025
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 minute to read

Delete a record from the targeted table by supplying its
sys_id.

## Input fields

An element \<sys_id\> identifying the sys_id of the record to be
retrieved.

## Output fields

A \<count\> element within the deleteRecordResponse parent element
indicating the number of records deleted, this will always equal to "1" for
`deleteRecord`.

## Sample SOAP messages

Sample SOAP request  

    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:inc="http://www.service-now.com/incident">
       <soapenv:Header/>
       <soapenv:Body>
          <inc:deleteRecord>
             <sys_id>46e18c0fa9fe19810066a0083f76bd56</sys_id>
          </inc:deleteRecord>
       </soapenv:Body>
    </soapenv:Envelope>

Sample SOAP response  

    <soapenv:Envelope xmlns:inc="http://www.service-now.com/incident" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
       <soapenv:Header/>
       <soapenv:Body>
          <deleteRecordResponse>
             <count>1</count>
          </deleteRecordResponse>
       </soapenv:Body>
    </soapenv:Envelope>

## Language-specific sample messages

For language-specific deleteRecord samples, refer to the
following topics:

[Perl
SOAP::Lite](https://www.servicenow.com/docs/K~Vg_tkxXqGEmwBLEpo3HA#c_PerlWebServicesClientExamples__update)

Java
Apache Axis2

Microsoft
.NET

Python

