deleteRecord
reference brazil Updated Sep 10, 2026 1 min read r_DeleteRecord.md
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
XML
<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
XML
<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:
Java Apache Axis2
Microsoft .NET
Python
Parent Topic:Data Modification API
69 lines · 2.0 KB
---
title: deleteRecord
description: Delete a record from the targeted table by supplying its sys\_id.
locale: en-US
canonical_url: https://www.servicenow.com/docs/r/api-reference/web-services/r\_DeleteRecord.html
release: brazil
product: Web Services
classification: web-services
topic_type: reference
last_updated: "2026-09-10"
reading_time_minutes: 1
breadcrumb: [Data modification, API functions, Direct services, SOAP web service, Inbound, Web services, API implementation, API implementation and reference]
---
# deleteRecord
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://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/api-reference/web-services/c_PerlWebServicesClientExamples.md)
Java Apache Axis2
Microsoft .NET
Python
**Parent Topic:**[Data Modification API](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/api-reference/web-services/r_DataModificationAPI.md)
| title | deleteRecord |
| description | Delete a record from the targeted table by supplying its sys\_id. |
| locale | en-US |
| canonical_url | https://www.servicenow.com/docs/r/api-reference/web-services/r\_DeleteRecord.html |
| release | brazil |
| product | Web Services |
| classification | web-services |
| topic_type | reference |
| last_updated | 2026-09-10 |
| reading_time_minutes | 1 |
| breadcrumb | Data modificationAPI functionsDirect servicesSOAP web serviceInboundWeb servicesAPI implementationAPI implementation and reference |