Skip to content

CreateSignupBlockRequest

A new block on sign-ups.

object
kind
required

email_domain: the domain of the email address and its subdomains. email_hash: one email address, compared in lower case without the part of the local part from its first +. ip_range: the client addresses in a CIDR prefix.

string
Allowed values: email_domain email_hash ip_range
value
required

A domain such as spam.example or 例え.jp (email_domain), an email address or the hex SHA-256 of a canonical one (email_hash), or a CIDR prefix such as 192.0.2.0/24 or a single IP address (ip_range).

string
>= 1 characters <= 320 characters
severity
required

reject: the sign-up is refused. require_approval: the registration starts pending for a moderator, whatever the registration mode.

string
Allowed values: reject require_approval
comment
string
<= 1000 characters
expires_in

The seconds the block lasts, at most ten years (315360000); omitted, it lasts until it is lifted.

integer
>= 1 <= 315360000

Example generated

{
"kind": "email_domain",
"value": "example",
"severity": "reject",
"comment": "example",
"expires_in": 1
}

For LLMs and coding agents:llms.txt,llms-full.txt, llms-small.txt

Analytics on this site