Skip to content
gist.link ↗

removeSuppression

Mutation Campaigns API — POST https://campaigns.api.gist.link/graphql

Removes a manual suppression entry (does not un-bounce/re-permit a legally-required opt-out; intended for correcting mistaken manual entries). ROLE_ADMIN or ROLE_CAMPAIGNS_MANAGER.

campaigns:mutation:removeSuppression

The calling IAM key must hold this permission (or a wildcard that covers it: campaigns:mutation:* or campaigns:*) and the access token must have been minted with audience=campaigns. See Permissions.

type Mutation {
removeSuppression(email: String!): Boolean!
}
Argument Type Required Description
email String! Yes —

Boolean!.

Terminal window
curl https://campaigns.api.gist.link/graphql \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H 'Content-Type: application/json' \
-d @- <<'JSON'
{
"query": "mutation RemoveSuppression($email: String!) { removeSuppression(email: $email) }",
"variables": {
"email": "ada@example.com"
}
}
JSON