Ruby
Helo.configure do |config|
config.api_key = ENV.fetch("HELO_API_KEY")
end
remove_suppressions_request = Helo::RemoveSuppressionsRequest.new(
channel_id: "550e8400-e29b-41d4-a716-446655440000",
mail_type: Helo::MailType::TRANSACTIONAL,
emails: ["example1", "example2"]
)
Helo::Suppressions.remove(remove_suppressions_request)import Helo from "@helo-email/sdk";
const apiKey = process.env.HELO_API_KEY;
const helo = new Helo(apiKey);
const result = await helo.suppressions.remove({
channelId: "550e8400-e29b-41d4-a716-446655440000",
mailType: Helo.MailType.TRANSACTIONAL,
emails: ["example1", "example2"],
});package main
import (
"context"
"log"
"os"
"github.com/helo-email/helo-sdk-go"
)
func main() {
client := helo.NewHelo(os.Getenv("HELO_API_KEY"))
ctx := context.Background()
params := &helo.RemoveSuppressionsRequest{
ChannelID: "550e8400-e29b-41d4-a716-446655440000",
MailType: helo.MailTypeTransactional,
Emails: []string{"example1", "example2"},
}
result, err := client.Suppressions.Remove(ctx, params)
if err != nil {
log.Fatal(err)
}
_ = result
}using HeloEmail.Sdk.Activity;
using HeloEmail.Sdk.Suppressions;
var result = await helo.Suppressions.Remove(new RemoveSuppressionsRequest
{
ChannelId = "channel-id",
MailType = MailType.Transactional,
Emails = ["blocked@example.com"],
});import sdk_helo_email as helo
client = helo.Helo() # reads HELO_API_KEY from the environment
result = client.suppressions.remove(
channel_id="channel-id",
mail_type=helo.MailType.TRANSACTIONAL,
emails=["blocked@example.com"],
){
"results": [
{
"email": "<string>",
"success": true,
"message": "<string>"
}
]
}{
"type": "<string>",
"title": "<string>",
"instance": "<string>",
"status": 123,
"code": "<string>",
"detail": "<string>",
"requestId": "<string>",
"errors": {}
}{
"type": "<string>",
"title": "<string>",
"instance": "<string>",
"status": 123,
"code": "<string>",
"detail": "<string>",
"requestId": "<string>",
"errors": {}
}{
"type": "<string>",
"title": "<string>",
"instance": "<string>",
"status": 123,
"code": "<string>",
"detail": "<string>",
"requestId": "<string>",
"errors": {}
}{
"type": "<string>",
"title": "<string>",
"instance": "<string>",
"status": 123,
"code": "<string>",
"detail": "<string>",
"requestId": "<string>",
"errors": {}
}Suppressions
Remove suppressions
Removes email addresses from the suppression list to allow future sends.
POST
/
suppressions
/
remove
Ruby
Helo.configure do |config|
config.api_key = ENV.fetch("HELO_API_KEY")
end
remove_suppressions_request = Helo::RemoveSuppressionsRequest.new(
channel_id: "550e8400-e29b-41d4-a716-446655440000",
mail_type: Helo::MailType::TRANSACTIONAL,
emails: ["example1", "example2"]
)
Helo::Suppressions.remove(remove_suppressions_request)import Helo from "@helo-email/sdk";
const apiKey = process.env.HELO_API_KEY;
const helo = new Helo(apiKey);
const result = await helo.suppressions.remove({
channelId: "550e8400-e29b-41d4-a716-446655440000",
mailType: Helo.MailType.TRANSACTIONAL,
emails: ["example1", "example2"],
});package main
import (
"context"
"log"
"os"
"github.com/helo-email/helo-sdk-go"
)
func main() {
client := helo.NewHelo(os.Getenv("HELO_API_KEY"))
ctx := context.Background()
params := &helo.RemoveSuppressionsRequest{
ChannelID: "550e8400-e29b-41d4-a716-446655440000",
MailType: helo.MailTypeTransactional,
Emails: []string{"example1", "example2"},
}
result, err := client.Suppressions.Remove(ctx, params)
if err != nil {
log.Fatal(err)
}
_ = result
}using HeloEmail.Sdk.Activity;
using HeloEmail.Sdk.Suppressions;
var result = await helo.Suppressions.Remove(new RemoveSuppressionsRequest
{
ChannelId = "channel-id",
MailType = MailType.Transactional,
Emails = ["blocked@example.com"],
});import sdk_helo_email as helo
client = helo.Helo() # reads HELO_API_KEY from the environment
result = client.suppressions.remove(
channel_id="channel-id",
mail_type=helo.MailType.TRANSACTIONAL,
emails=["blocked@example.com"],
){
"results": [
{
"email": "<string>",
"success": true,
"message": "<string>"
}
]
}{
"type": "<string>",
"title": "<string>",
"instance": "<string>",
"status": 123,
"code": "<string>",
"detail": "<string>",
"requestId": "<string>",
"errors": {}
}{
"type": "<string>",
"title": "<string>",
"instance": "<string>",
"status": 123,
"code": "<string>",
"detail": "<string>",
"requestId": "<string>",
"errors": {}
}{
"type": "<string>",
"title": "<string>",
"instance": "<string>",
"status": 123,
"code": "<string>",
"detail": "<string>",
"requestId": "<string>",
"errors": {}
}{
"type": "<string>",
"title": "<string>",
"instance": "<string>",
"status": 123,
"code": "<string>",
"detail": "<string>",
"requestId": "<string>",
"errors": {}
}⌘I