Removes an email address from the blocked list

POST /mail/{id}/blocks/delete

Removes an email address from the various block lists.

Path parameters

  • id integer Required

    Mail ID number

Body Required

  • email string

    an email address

Body Required

  • email string

    an email address

Responses

  • 200 application/json

    search results matching criteria

    Hide response attributes Show response attributes object
    • status string Required
    • text string Required
  • 400 application/json

    The specified resource was not found

    Hide response attributes Show response attributes object
    • code string Required
    • message string Required
  • 401 application/json

    Unauthorized

    Hide response attributes Show response attributes object
    • code string Required
    • message string Required
  • 404 application/json

    The specified resource was not found

    Hide response attributes Show response attributes object
    • code string Required
    • message string Required
POST /mail/{id}/blocks/delete
curl \
 --request POST 'https://my.interserver.net/apiv2/mail/{id}/blocks/delete' \
 --header "X-API-KEY: $API_KEY" \
 --header "Content-Type: application/json" \
 --data '{"email":"client@domain.com"}'
curl \
 --request POST 'https://my.interserver.net/apiv2/mail/{id}/blocks/delete' \
 --header "X-API-KEY: $API_KEY" \
 --header "Content-Type: multipart/form-data" \
 --form "email=client@domain.com"
Request example
{
  "email": "client@domain.com"
}
Request example
{"email" => "client@domain.com"}
Response examples (200)
{
  "text": "The command completed successfully.",
  "status": "ok"
}
Response examples (400)
{
  "code": "string",
  "message": "string"
}
Response examples (401)
{
  "code": "string",
  "message": "string"
}
Response examples (404)
{
  "code": "string",
  "message": "string"
}