PUT /accounts/{account_id}

Update an existing account.

Servers

Path parameters

Name Type Required Description
account_id String Yes

Request headers

Name Type Required Description
Content-Type String Yes The media type of the request body.

Default value: "application/json"

Request body fields

Name Type Required Description
id String Yes

Identifier

name String Yes

Account name

created_on String No

Timestamp for the creation of the account

settings Object No

Account settings

settings.use_account_custom_ns_by_default Boolean No

Indicates whether new zones should use the account-level custom nameservers by default.

Deprecated in favor of DNS Settings.

Default value: false

settings.default_nameservers String No

Specifies the default nameservers to be used for new zones added to this account.

  • cloudflare.standard for Cloudflare-branded nameservers
  • custom.account for account custom nameservers
  • custom.tenant for tenant custom nameservers

See Custom Nameservers for more information.

Deprecated in favor of DNS Settings.

Possible values:

  • "cloudflare.standard"
  • "custom.account"
  • "custom.tenant"

Default value: "cloudflare.standard"

settings.enforce_twofactor Boolean No

Indicates whether membership in this account requires that Two-Factor Authentication is enabled

Default value: false

settings.abuse_contact_email String No

Sets an abuse contact email to notify for abuse reports.

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. Search for the API you want to integrate with and click on the name.
    • This loads the API reference documentation and prepares the Http request settings.
  3. Click Test request to test run your request to the API and see the API's response.