Accounts
accounts
Methods
Create an account (only available for tenant admins at this time)
Delete a specific account (only available for tenant admins at this time). This is a permanent operation that will delete any zones or other resources under the account
Get information about a specific account that you are a member of.
The previous authorization scheme for interacting with the Cloudflare API, used in conjunction with a Global API key.
Example: X-Auth-Email: user@example.com
The previous authorization scheme for interacting with the Cloudflare API. When possible, use API tokens instead of Global API keys.
Example: X-Auth-Key: 144c9defac04969c7bfad8efaa8ea194
Trust and Safety Write Trust and Safety Read DNS View Write DNS View Read SCIM Provisioning Load Balancers Account Write Load Balancers Account Read Cloudflare Zero Trust PII Read DDoS Botnet Feed Write DDoS Botnet Feed Read Workers R2 Storage Write Workers R2 Storage Read DDoS Protection Write DDoS Protection Read Workers Tail Read Workers KV Storage Write Workers KV Storage Read Workers Scripts Write Workers Scripts Read Load Balancing: Monitors and Pools Write Load Balancing: Monitors and Pools Read Account Firewall Access Rules Write Account Firewall Access Rules Read DNS Firewall Write DNS Firewall Read Billing Write Billing Read Account Settings Write Account Settings Read
Account identifier tag.
Whether the API call was successful
List all accounts you have ownership or verified access to.
Update an existing account.
Domain types
Logs
accounts.logs
Methods
Gets a list of audit logs for an account.
This is the beta release of Audit Logs Version 2. Since this is a beta version, there may be gaps or missing entries in the available audit logs. Be aware of the following limitations.
- Audit logs are available only for the past 30 days.
- Error handling is not yet implemented.
Members
accounts.members
Methods
Add a user to the list of members for this account.
Remove a member from an account.
Get information about a specific member of an account.
List all members of an account.
Modify an account member.
Domain types
Whether the user is a member of the organization or has an invitation pending.
Subscriptions
accounts.subscriptions
Methods
Creates an account subscription.
Deletes an account's subscription.
Lists all of an account's subscriptions.
Updates an account subscription.
Tokens
accounts.tokens
Methods
Create a new Account Owned API token.
Destroy an Account Owned API token.
Get information about a specific Account Owned API token.
List all Account Owned API tokens created for this account.
Update an existing token.
Test whether a token works.
Methods
Find all available permission groups for Account Owned API Tokens
Find all available permission groups for Account Owned API Tokens
Methods
Roll the Account Owned API token secret.