---
title: "Unblock a contact"
description: "Takes every workspace blocklist rule that blocks the address off the list, and lists them in `removed`. This is Unblock on a contact in the app."
url: "https://openemail.uk/docs/api/contacts/unblock"
area: "API"
category: "Mailbox"
---

# Unblock a contact

Takes every workspace blocklist rule that blocks the address off the list, and lists them in `removed`. This is Unblock on a contact in the app.

`DELETE /contacts/{email}/block`

## DELETE /contacts/{email}/block

Takes every workspace blocklist rule that blocks the address off the list, and lists them in `removed`. This is Unblock on a contact in the app.

## Example

Needs `settings:write`. URL-encode the `@`.

**curl**

```
curl -X DELETE "$OE/contacts/news%40shop.example/block" -H "$AUTH"
```

**Response**

```
{
  "object": "contact_block",
  "email": "news@shop.example",
  "blocked": false,
  "removed": [{ "rule": "shop.example", "list": "blockedDomains" }]
}
```

> A rule in `blockedDomains` blocks a whole domain and every subdomain under it, so taking it off unblocks everybody at that domain, not only this address. Read `removed` when that matters.

> Rules set for one address or one domain in the settings are not touched. An address that no workspace rule blocks answers with `removed` empty.
