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

# Remove a sending address

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

By id or email. When it was the default, the oldest remaining address becomes the default. Owners and admins.

## Path Parameters

`orgId`

numberrequired

`ref`

stringrequired

## Response

200

**cURL**

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

**JavaScript**

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

fetch('https://api.workover.io/workspace/{orgId}/sending-addresses/{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-addresses/{ref}"

response = requests.delete(url)

print(response.text)
```
