Preview

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

addDomainToGlobalBlacklist

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.

This page contains

    Authorization Rules

    This request requires authorization with at least one of the following scopes:

    Scopes

    ROLE_SUPERUSER

    Arguments

    domain String!

    The email domain to blacklist globally.

    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.