Preview

DomainBlacklistEntry is in Preview status and is subject to change without notice. For more information about Preview status, see the GraphQL API policy.

DomainBlacklistEntry

An entry on the email domain blacklist table: one decision (blacklist or whitelist) per domain per scope.

This page contains

    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).

    Parent objects of DomainBlacklistEntry

    DomainBlacklistConnection PREVIEW

    Cursor-paginated result set returned by the domain blacklist list queries.

    Mutations for DomainBlacklistEntry

    addDomainToBlacklist PREVIEW

    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.

    addDomainToGlobalBlacklist PREVIEW

    Adds a global blacklist entry (applies to every marketplace). A no-op when the domain is already blacklisted globally. Fails when a global whitelist entry exists — remove it first.

    addDomainToGlobalWhitelist PREVIEW

    Adds a global whitelist entry (applies to every marketplace unless a partner explicitly blacklists the domain). Fails when a global blacklist entry exists — remove it first.

    addDomainToWhitelist PREVIEW

    Adds a partner-scoped whitelist entry: the domain passes filtering for the caller's marketplace even when globally or publicly blocked. Fails when the partner already has a blacklist entry for the domain — remove it first, then whitelist.

    Queries for DomainBlacklistEntry

    domainBlacklist PREVIEW

    Cursor-paginated list of domain blacklist table entries visible to a marketplace manager: the caller's marketplace entries plus the global entries (which are read-only for partner-scoped callers; the global flag marks them).

    The caller's marketplace is derived from the identity context; reading another marketplace's entries is not supported.

    globalDomainBlacklist PREVIEW

    Cursor-paginated list of the global (partner NULL) domain blacklist table entries. Only entries that apply to every marketplace are returned — partner-scoped entries are never included on this path.