CreateBlockRegistrationDomainData

class CreateBlockRegistrationDomainData[source]

CreateBlockRegistrationDomainData(type: “t.Literal[‘block’]”, domain: ‘str’, match_subdomains: ‘bool’ = True)

type: Literal['block']

The type of rule.

domain: str

The email domain to match.

match_subdomains: bool = True

Whether to also match subdomains.