addDomainToBlacklist
Adds a partner-scoped blacklist entry for the caller's marketplace. A no-op (returning the existing entry) when the partner already blocks the domain; a pre-existing global entry does not prevent the partner entry. Fails when the partner already has a whitelist entry for the domain — remove it first, then blacklist.
This page contains
Arguments
| domain String! | The email domain to blacklist for the caller's marketplace. |
Return Fields
| id ID! | Unique identifier of the entry. |
| domain String! | The email domain this decision applies to. |
| partner String | The partner the entry is scoped to. Null means the entry is global and applies to every marketplace; global rows are read-only for partner-scoped callers. |
| entryType DomainBlacklistEntryType! PREVIEW | The decision recorded on this entry. |
| global Boolean! | True when the entry is global (applies to every marketplace). |
Interactive example
This is an example mutation query. Use the embedded interactive tool below to edit the query.
Hint: use Ctrl + Space for autocompleting fields.