-
Notifications
You must be signed in to change notification settings - Fork 4
Accounts
Ivan Kristianto edited this page Jul 8, 2020
·
8 revisions
List all accounts you have ownership or verified access to. See the api doc here: https://api.cloudflare.com/#accounts-list-accounts
Command: cf account list
Options:
Options:
--version Show version number [boolean]
--help Show help [boolean]
--format Format the output, value: table, string, json, list [string]
--separator Separator value when the output format is string [string] [default: " "]
--fields Fields to return [string] [default: "id,name,type"]
--perPage Number of zones per page [default: 20]
--page Page number of paginated results [default: 1]
--order Field to order zones by [string] [default: "name"]
--direction Direction to order zones [string] [default: "asc"]
Samples:
cf accounts list
cf accounts list --fields=id --perPage=100
Get information about a specific account that you are a member of. See the api doc here: https://api.cloudflare.com/#accounts-account-details
Command: cf accounts get <accountId>
Options:
Options:
--version Show version number [boolean]
--help Show help [boolean]
--format Format the output, value: table, string, json, list [string]
--separator Separator value when the output format is string [string] [default: " "]
--fields Fields to return [string] [default: "id,name,type"]
Samples:
cf accounts get 4e7484688d19b7abda970c97d12345d5
cf accounts get 4e7484688d19b7abda970c97d12345d5 --fields=created_on