Remove domain
DELETE/domains/:domain
De-provision a domain to cease protecting it with MailChannels Inbound.
Request
Path Parameters
domain hostnamerequired
The domain name to be removed.
Responses
- 204
- 400
- 403
- 404
- 500
Successful de-provisioning request. The domain will no longer count towards your limit on protected domains.
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, 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"
]
}
The 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...