PUT /accounts/{account_id}
Update an existing account.
Servers
- https://api.cloudflare.com/client/v4
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.
See Custom Nameservers for more information. Deprecated in favor of DNS Settings. Possible values:
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
- Add HTTP Task to your workflow definition.
- 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.
- Click Test request to test run your request to the API and see the API's response.