> ## Documentation index
> Fetch the complete documentation index at: https://workover.io/docs/llms.txt

# Remove a sending domain

DELETE`/workspace/{orgId}/sending-domains/{ref}`

Removes the domain, its signing key and its addresses. Support brands sending as it fall back to the default address. Owners and admins.

## Path Parameters

`orgId`

numberrequired

`ref`

stringrequired

## Response

200

**cURL**

```bash
curl --request DELETE \
  --url 'https://api.workover.io/workspace/{orgId}/sending-domains/{ref}'
```

**JavaScript**

```javascript
const options = {
  method: 'DELETE'
};

fetch('https://api.workover.io/workspace/{orgId}/sending-domains/{ref}', options)
  .then(res => res.json())
  .then(res => console.log(res))
  .catch(err => console.error(err));
```

**Python**

```python
import requests

url = "https://api.workover.io/workspace/{orgId}/sending-domains/{ref}"

response = requests.delete(url)

print(response.text)
```
