List IP groups
Overview
Lists firewall IP groups in the current team, followed by the default groups every account shares. Each group is a reusable address list for the source or destination of firewall rules. Entries include addresses and rules_count, which counts only your own rules. Fetch an individual group for used_by, which identifies the firewall groups using it.\n\nA default group has is_default set. Use it in rules like your own groups, but it cannot be renamed, edited or deleted: those requests return 403. Its addresses are kept up to date for you, such as a CDN's published ranges.
Permissions
Requires the firewall.read (View the firewall) permission for the selected team. Resources outside that team return 404.
Authorization
Your API key, sent as a bearer token. Create one in the control panel under API Keys, give it only the permissions the integration needs, and copy it when it is created. It cannot be shown again. Each key is restricted to one owned team. The key determines the team for every request.
Send it as Bearer <token>.
Response 200
application/jsonThe whole set, as a JSON array. There is no envelope and no paging.
The id ID.
The value of uuid_short.
The name shown to customers.
A list every account shares and only staff change, so it cannot be renamed, edited or deleted here.
The value of entries.
Show child attributesHide child attributes
The id ID.
The value of uuid_short.
The value of value.
What the customer wrote down about why this address is on the list.
How many firewall rules point at this group - what makes it unsafe to delete, so the list needs it even without the detail below.
The date and time for created at, in UTC.
Which firewall groups use this one, named.
Show child attributesHide child attributes
The id ID.
The value of uuid_short.
The name shown to customers.
The number of rules count.
Errors
- 401
- The key was missing, malformed, revoked, or belongs to an account that no longer exists.
- 403
- Access denied. Check the key's team, permissions and allowed IP addresses. Some actions, such as managing API keys, require a browser session. The response message explains the reason.
- 429
- Too many requests. The
Retry-Afterheader says how many seconds to wait. Limits are per account, so several keys on one account share them.
Still stuck? Contact our team
View as Markdown