Accounts
accounts
Methods
List all accounts you have ownership or verified access to.
Get information about a specific account that you are a member of.
Create an account (only available for tenant admins at this time)
Update an existing account.
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
Domain types
Account Organizations
accounts.account_organizations
Methods
Move an account within an organization hierarchy or an account outside an organization. (Currently in Closed Beta - see https://developers.cloudflare.com/fundamentals/organizations/)
Account Profile
accounts.account_profile
Methods
Get account profile
Modify account profile
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.
The preferred authorization scheme for interacting with the Cloudflare API. Create a token.
Example: Authorization: Bearer Sn3lZJTBX6kkg7OdcBUAxOO963GEIyGQqnFTOFYY
Account Settings Write Account Settings Read
The unique id that identifies the account.
Limits the returned results to logs older than the specified date. This can be a date string 2019-04-30 (interpreted in UTC) or an absolute timestamp that conforms to RFC3339.
Limits the returned results to logs newer than the specified date. This can be a date string 2019-04-30 (interpreted in UTC) or an absolute timestamp that conforms to RFC3339.
Filters out audit logs by their IDs.
Filters out audit logs by the account name.
Filters out audit logs by whether the action was successful or not.
Filters out audit logs by the action type.
Filters out audit logs by the actor context.
Filters out audit logs by the actor's email address.
Filters out audit logs by the actor ID. This can be either the Account ID or User ID.
Filters out audit logs IP address where the action was initiated.
Filters out audit logs by the API token ID when the actor context is an api_token or oauth.
Filters out audit logs by the API token name when the actor context is an api_token or oauth.
Filters out audit logs by the actor type.
Filters out audit logs by their IDs.
The cursor is an opaque token used to paginate through large sets of records. It indicates the position from which to continue when requesting the next set of records. A valid cursor value can be obtained from the cursor object in the result_info structure of a previous response.
Sets sorting order.
The number limits the objects to return. The cursor attribute may be used to iterate over the next batch of objects if there are more than the limit.
Filters out audit logs by the response CF Ray ID.
Filters out audit logs by the HTTP method for the API call.
Filters out audit logs by the response status code that was returned.
Filters out audit logs by the request URI.
Filters out audit logs by the resource ID.
Filters out audit logs by the Cloudflare product associated with the changed resource.
Filters out audit logs by the resource scope, specifying whether the resource is associated with an user, an account, or a zone.
Filters out audit logs based on the unique type of resource changed by the action.
Filters out audit logs by the zone ID.
Filters out audit logs by the zone name associated with the change.
Provides information about the result of the request, including count and cursor.
Indicates whether the API call was successful
Members
accounts.members
Methods
List all members of an account.
Get information about a specific member of an account.
Add a user to the list of members for this account.
Modify an account member.
Remove a member from an account.
Domain types
Whether the user is a member of the organization or has an invitation pending.
Subscriptions
accounts.subscriptions
Methods
Lists all of an account's subscriptions.
Creates an account subscription.
Updates an account subscription.
Deletes an account's subscription.
Tokens
accounts.tokens
Methods
List all Account Owned API tokens created for this account.
Get information about a specific Account Owned API token.
Create a new Account Owned API token.
Update an existing token.
Destroy an Account Owned API 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.