Table of Contents

Class AccountSettings

Namespace
Cloudflare.NET.Accounts.Models
Assembly
Cloudflare.NET.dll

Account settings including security and administrative configurations.

These settings apply to all members and resources within the account.

public record AccountSettings : IEquatable<AccountSettings>
Inheritance
AccountSettings
Implements
Inherited Members

Constructors

AccountSettings(string?, bool)

Account settings including security and administrative configurations.

These settings apply to all members and resources within the account.

public AccountSettings(string? AbuseContactEmail = null, bool EnforceTwofactor = false)

Parameters

AbuseContactEmail string

Email address for abuse-related communications. Cloudflare uses this email to report issues such as phishing or malware hosted on domains in the account.

EnforceTwofactor bool

Whether two-factor authentication is enforced for all account members. When enabled, all members must set up 2FA before they can access the account.

Properties

AbuseContactEmail

Email address for abuse-related communications. Cloudflare uses this email to report issues such as phishing or malware hosted on domains in the account.

[JsonPropertyName("abuse_contact_email")]
public string? AbuseContactEmail { get; init; }

Property Value

string

EnforceTwofactor

Whether two-factor authentication is enforced for all account members. When enabled, all members must set up 2FA before they can access the account.

[JsonPropertyName("enforce_twofactor")]
public bool EnforceTwofactor { get; init; }

Property Value

bool