CreateAllowRegistrationDomainData

class CreateAllowRegistrationDomainData[source]

CreateAllowRegistrationDomainData(type: “t.Literal[‘allow’]”, domain: ‘str’, tenant_role_id: ‘int’, match_subdomains: ‘bool’ = True)

type: Literal['allow']

The type of rule.

domain: str

The email domain to match.

tenant_role_id: int

The tenant role to assign to registering users.

match_subdomains: bool = True

Whether to also match subdomains.