Mutation
mutation CreateBlocklistEntry($input: CreateBlocklistEntryInput!) {
createBlocklistEntry(input: $input) {
blocklistEntry {
blocklistType
createdAt
email
id
reason
resourceId
}
clientMutationId
errors
}
}Variables
{
"input": {
"email": "string"
}
}Response
{
"data": {
"createBlocklistEntry": {
"blocklistEntry": {
"blocklistType": "AUTOMATED_TEST_USER",
"createdAt": "value",
"email": "string",
"id": "id",
"reason": "string",
"resourceId": "id"
},
"clientMutationId": "string",
"errors": [
"string"
]
}
}
}Mutations
createBlocklistEntry
Add an email address to the Network’s blocklist, suppressing email delivery to it (invite emails and, for hard blocks, passwordless sign-in links included). It does not remove members or prevent joining. Re-blocking an address already blocked on this Network returns the existing entry when it is visible to the host; an address blocked by an entry the host cannot see, or blocked platform-wide, returns an “already blocked” payload error instead. On plans without the member-email visibility billing feature, only host-added (MANUAL) entries are visible to hosts.
Required scope: host:write:network_members
MUTATION
createBlocklistEntry(input: CreateBlocklistEntryInput!): CreateBlocklistEntryPayloadArguments
input
required
Parameters for CreateBlocklistEntry
Returns
blocklistEntry
clientMutationId
String
A unique identifier for the client performing the mutation.
errors
[String!]!
Mutation
mutation CreateBlocklistEntry($input: CreateBlocklistEntryInput!) {
createBlocklistEntry(input: $input) {
blocklistEntry {
blocklistType
createdAt
email
id
reason
resourceId
}
clientMutationId
errors
}
}Variables
{
"input": {
"email": "string"
}
}Response
{
"data": {
"createBlocklistEntry": {
"blocklistEntry": {
"blocklistType": "AUTOMATED_TEST_USER",
"createdAt": "value",
"email": "string",
"id": "id",
"reason": "string",
"resourceId": "id"
},
"clientMutationId": "string",
"errors": [
"string"
]
}
}
}