Remove a group suppression
Soft-deletes all active blocks for (account, group, normalized
email) — one removed audit event per block (actor: manual).
The email path segment is normalized (trim + lower-case) before
matching. Idempotent on already-removed rows (returns 404 since
they’re no longer active).
Two distinct 404 cases: a missing/cross-account group returns
10001 "The requested unsubscribe group was not found"; a group that
exists but has no active suppression for that email returns
10001 "The requested group suppression was not found".
import Telnyx from 'telnyx';
const client = new Telnyx({
apiKey: process.env['TELNYX_API_KEY'], // This is the default and can be omitted
});
await client.emailUnsubscribeGroups.suppressions.delete('id', 'email');import os
from telnyx import Telnyx
client = Telnyx(
api_key=os.environ.get("TELNYX_API_KEY"), # This is the default and can be omitted
)
client.email_unsubscribe_groups.suppressions.delete(
"id",
"email",
)
package main
import (
"context"
"github.com/team-telnyx/telnyx-go"
"github.com/team-telnyx/telnyx-go/option"
)
func main() {
client := telnyx.NewClient(
option.WithAPIKey("My API Key"),
)
err := client.EmailUnsubscribeGroups.Suppressions.Delete(
context.TODO(),
"id",
"email",
)
if err != nil {
panic(err.Error())
}
}
package com.telnyx.sdk.example;
import com.telnyx.sdk.client.TelnyxClient;
import com.telnyx.sdk.client.okhttp.TelnyxOkHttpClient;
public final class Main {
private Main() {}
public static void main(String[] args) {
TelnyxClient client = TelnyxOkHttpClient.fromEnv();
client.emailUnsubscribeGroups().suppressions().delete("id", "email");
}
}require "telnyx"
telnyx = Telnyx::Client.new(api_key: "My API Key")
response = telnyx.email_unsubscribe_groups.suppressions.delete("id", "email")
puts(response)<?php
require_once dirname(__DIR__) . '/vendor/autoload.php';
use Telnyx\Client;
use Telnyx\Core\Exceptions\APIException;
$client = new Client(apiKey: getenv('TELNYX_API_KEY') ?: 'My API Key');
try {
$response = $client->emailUnsubscribeGroups->suppressions->delete(
'id',
'email',
);
var_dump($response);
} catch (APIException $e) {
echo $e->getMessage();
}telnyx email-unsubscribe-groups:suppressions delete \
--api-key 'My API Key' \
--id id \
--email emailcurl --request DELETE \
--url https://api.telnyx.com/v2/email_unsubscribe_groups/{id}/suppressions/{email} \
--header 'Authorization: Bearer <token>'{
"errors": [
{
"code": "10007",
"title": "Unauthorized",
"detail": "Missing authentication"
}
]
}{
"errors": [
{
"code": "10001",
"title": "Not Found",
"detail": "The requested email block was not found"
}
]
}{
"errors": [
{
"code": "406",
"title": "Not Acceptable",
"detail": "Not Acceptable"
}
]
}{
"errors": [
{
"code": "10015",
"title": "Validation Failed",
"detail": "can't be blank",
"source": {
"pointer": "/data/attributes/to"
}
}
]
}Authorizations
Telnyx API key supplied as Authorization: Bearer <token>. In production, auth may be validated by the API gateway and forwarded via Telnyx auth headers.
Path Parameters
Resource UUID. Malformed UUIDs are treated as not-found (not 400).
Recipient address (normalized: trim + lower-case before matching).
Response
Removed.
Was this page helpful?
import Telnyx from 'telnyx';
const client = new Telnyx({
apiKey: process.env['TELNYX_API_KEY'], // This is the default and can be omitted
});
await client.emailUnsubscribeGroups.suppressions.delete('id', 'email');import os
from telnyx import Telnyx
client = Telnyx(
api_key=os.environ.get("TELNYX_API_KEY"), # This is the default and can be omitted
)
client.email_unsubscribe_groups.suppressions.delete(
"id",
"email",
)
package main
import (
"context"
"github.com/team-telnyx/telnyx-go"
"github.com/team-telnyx/telnyx-go/option"
)
func main() {
client := telnyx.NewClient(
option.WithAPIKey("My API Key"),
)
err := client.EmailUnsubscribeGroups.Suppressions.Delete(
context.TODO(),
"id",
"email",
)
if err != nil {
panic(err.Error())
}
}
package com.telnyx.sdk.example;
import com.telnyx.sdk.client.TelnyxClient;
import com.telnyx.sdk.client.okhttp.TelnyxOkHttpClient;
public final class Main {
private Main() {}
public static void main(String[] args) {
TelnyxClient client = TelnyxOkHttpClient.fromEnv();
client.emailUnsubscribeGroups().suppressions().delete("id", "email");
}
}require "telnyx"
telnyx = Telnyx::Client.new(api_key: "My API Key")
response = telnyx.email_unsubscribe_groups.suppressions.delete("id", "email")
puts(response)<?php
require_once dirname(__DIR__) . '/vendor/autoload.php';
use Telnyx\Client;
use Telnyx\Core\Exceptions\APIException;
$client = new Client(apiKey: getenv('TELNYX_API_KEY') ?: 'My API Key');
try {
$response = $client->emailUnsubscribeGroups->suppressions->delete(
'id',
'email',
);
var_dump($response);
} catch (APIException $e) {
echo $e->getMessage();
}telnyx email-unsubscribe-groups:suppressions delete \
--api-key 'My API Key' \
--id id \
--email emailcurl --request DELETE \
--url https://api.telnyx.com/v2/email_unsubscribe_groups/{id}/suppressions/{email} \
--header 'Authorization: Bearer <token>'{
"errors": [
{
"code": "10007",
"title": "Unauthorized",
"detail": "Missing authentication"
}
]
}{
"errors": [
{
"code": "10001",
"title": "Not Found",
"detail": "The requested email block was not found"
}
]
}{
"errors": [
{
"code": "406",
"title": "Not Acceptable",
"detail": "Not Acceptable"
}
]
}{
"errors": [
{
"code": "10015",
"title": "Validation Failed",
"detail": "can't be blank",
"source": {
"pointer": "/data/attributes/to"
}
}
]
}