Remove an allow or block entry
cooper_delete_list_entryUse this when an address or domain should leave an allow or block list. Requires auth. Deletes that one entry. Inputs: direction (required; send, receive, or reply), type (required; allow or block), entry (required; email or domain), inbox_id (optional; omit for the account-wide list). Returns the list entry with deleted true. Fails with 400 invalid_list, 400 invalid_entry, 404 list_entry_not_found, or inbox_not_found. The per-inbox task allowlist is unchanged.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | allow or block. | |
| entry | Yes | Email address or domain to remove. | |
| inbox_id | No | Inbox id (inb_…), username, or full email. Omit for the account-wide list. | |
| direction | Yes | send, receive, or reply. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | allow or block. | |
| entry | No | The email address or domain on the list. | |
| object | No | Object type name, such as list, message, or thread. | |
| reason | No | Optional note stored with the entry. | |
| deleted | No | True when the object was deleted. | |
| inbox_id | No | Inbox the entry applies to, or null for the whole account. | |
| direction | No | inbound or outbound. | |
| created_at | No | ISO-8601 time the object was created. | |
| entry_type | No | email or domain. |