List firewall presets
/firewall-presetsUse this to pick a presetId for applyFirewallPreset.
- Token
- Bearer API token: cxk_live_ followed by 46 letters and digits
- Scope
firewall:read- Header
Authorization: Bearer $CLOUDUXE_API_KEY
How tokens and scopes work: Authentication and scopes.
Clouduxe-VersionstringOptionalThe API version to use, such as 2026-12-01. Omit it to use your token's version.
pattern ^[0-9]{4}-[0-9]{2}-[0-9]{2}$
200OK The presets.
objectstringRequiredAlways "list".
dataarray of FirewallPresetRequiredThe objects on this page.
Show 4 child attributesHide 4 child attributes
objectstringRequiredThe object's type. Always "firewall_preset".
idstringRequiredThe preset's id.
namestringRequiredThe preset's name.
rulesarray of ProxyPortRequiredThe port ranges it adds.
Show 3 child attributesHide 3 child attributes
protocolstringRequiredtcp or udp.
One oftcpudpportStartintegerRequiredThe first port.
min 1, max 65535portEndintegerRequiredThe last port, equal to portStart for one port.
min 1, max 65535
hasMorebooleanRequiredTrue when there are more objects after this page. A page can hold fewer than limit objects while hasMore is true: keep following nextCursor.
nextCursorstring or nullRequiredPass this as cursor to get the next page. Null when hasMore is false.
Every response
- 200OKThe presets.
- 400Bad requestThe request is not valid. Codes: version_invalid.
- 401UnauthorizedAuthentication failed. Codes: token_missing, token_invalid, token_expired, token_revoked.
- 403ForbiddenThe token is not allowed to do this. Codes: ip_not_allowed, api_access_disabled, scope_missing.
- 429Too many requestsA rate limit was reached. Codes: rate_limited.
- 500Server errorUnexpected error. Codes: internal_error.
- 503UnavailableTemporarily unavailable. Codes: unavailable.