---
title: "Contact delete"
url: "https://help.internetx.com/en/api/core-contact-delete/"
lang: "en"
section: "API reference — API reference (XML/JSON)"
breadcrumb: "API documentation (JSON/XML) > Tasks > Contact tasks"
updated: "2023-09-13"
---

# Contact delete

## Function

The _ContactDelete_ task deletes domain contacts. Several domain contacts can be deleted with one bulk request.  

Domain contacts can only be deleted if they are no longer connected to a domain. Otherwise, an error message is displayed.

## Description

Route: DELETE /contact​/{id}  
There is no need to send a body.

```
{
}
```

```
{
    "stid": "20190628-app3-dev-11608",
    "status": {
        "code": "S0303",
        "text": "Domain contact was deleted successfully. ",
        "type": "SUCCESS"
    },
    "object": {
        "type": "Contact",
        "value": "23151438"
    }
}
```

Task Code: 0303  
Uses [Contact](/en/api/core-contact-object/) object

```
<request>
	<auth>
		<user>customer</user>
		<password>password</password>
		<context>4</context>
	</auth>
	<task>
		<code>0303</code>
		<handle>
			<id>23151438</id>
		</handle>
		<reply_to>customer@example.com</reply_to>
	</task>
</request>
```

```
<response>
	<result>
		<status>
			<code>S0303</code>
			<text>Domain contact was deleted successfully.</text>
			<type>notify</type>
		</status>
	</result>
</response>
```
