Delete domain list entry
DELETE/domains/:domain/lists/:listname
Delete an entry from the blocklist or safelist for a domain.
Request
Path Parameters
domain hostnamerequired
The domain name.
listname stringrequired
Possible values: [blocklist
, safelist
, blacklist
, whitelist
]
The name of the list to delete an entry from. One of 'safelist' or 'blocklist'. 'whitelist' and 'blacklist' are deprecated
Query Parameters
item stringrequired
Responses
- 204
- 400
- 403
- 404
- 500
Successfully deleted the item.
Bad Request, returned in the case that an error occurs while converting an A-label domain to a U-label domain name.
- application/json
- Schema
- Example (from schema)
Schema
code integer
message string
errors string[]
{
"code": 0,
"message": "string",
"errors": [
"string"
]
}
Returned in the case that the domain is associated with an api key that is different than the one in the request, the domain is associated with a different customer, or the domain in the request is an alias domain.
- application/json
- Schema
- Example (from schema)
Schema
code integer
message string
errors string[]
{
"code": 0,
"message": "string",
"errors": [
"string"
]
}
This domain does not exist.
- 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...