Delete email with all messages
DELETE/v1/emails/:email
Delete email with all messages
Request
Path Parameters
email to delete
Responses
- 200
- 400
- 429
email deleted successfully
code error
- application/json
- Schema
- Example (from schema)
Schema
- request_error
- api_error
error
object
type
object
Type of error encountered.
oneOf
Typically means there's a problem with the request that you made.
Typically means there's a problem with the Temp Mail API.
Error code. Some common codes are not_found
, invalid_api_key
, rate_limited
, validation_error
.
meta
object
Information about this response.
Unique ID for the request relating to this response. Provide this when contacting Temp Mail support about a specific request.
{
"error": {
"type": "request_error",
"code": "not_found",
"detail": "Message not found"
},
"meta": {
"request_id": "a48b927e-3a24-42ff-a748-d516e5474f85"
}
}
rate limit error
- application/json
- Schema
- Example (from schema)
Schema
- request_error
error
object
type
object
Type of error encountered.
oneOf
Typically means there's a problem with the request that you made.
meta
object
Information about this response.
Unique ID for the request relating to this response. Provide this when contacting Temp Mail support about a specific request.
{
"error": {
"type": "request_error",
"code": "rate_limited",
"detail": "You have reached your rate limit. Please try again later."
},
"meta": {
"request_id": "a48b927e-3a24-42ff-a748-d516e5474f85"
}
}