Delete item from recipient list
DELETE/users/:email/lists/:listname
Delete item from recipient list
Request
Path Parameters
email stringrequired
The email address of the recipient whose list will be modified.
listname stringrequired
Possible values: [blocklist
, safelist
, blacklist
, whitelist
]
The name of the list to remove an entry from. One of 'safelist' or 'blocklist'. 'whitelist' and 'blacklist' are deprecated
Query Parameters
item stringrequired
The list entry which should be removed.
Responses
- 204
- 403
- 404
- 500
Successfully deleted the item
Returned in the case that the domain in the user email is associated with an api key that is different than the one in the request, the user is associated with a different customer, or the domain in the user email is an alias domain.
- application/json
- Schema
- Example (from schema)
Schema
code integer
message string
errors string[]
{
"code": 0,
"message": "string",
"errors": [
"string"
]
}
Account not found
- application/json
- Schema
- Example (from schema)
Schema
code integer
message string
errors string[]
{
"code": 0,
"message": "string",
"errors": [
"string"
]
}
Internal Server Error
- application/json
- Schema
- Example (from schema)
Schema
code integer
message string
errors string[]
{
"code": 0,
"message": "string",
"errors": [
"string"
]
}
Loading...