AI ready
Open in Claude (opens in a new tab)View as Markdown

List firewall presets

GET/firewall-presets

Use 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-VersionstringOptional

    The 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}$

Returns

200OK The presets.

  • objectstringRequired

    Always "list".

  • dataarray of FirewallPresetRequired

    The objects on this page.

    Show 4 child attributesHide 4 child attributes
    • objectstringRequired

      The object's type. Always "firewall_preset".

    • idstringRequired

      The preset's id.

    • namestringRequired

      The preset's name.

    • rulesarray of ProxyPortRequired

      The port ranges it adds.

      Show 3 child attributesHide 3 child attributes
      • protocolstringRequired

        tcp or udp.

        One oftcpudp
      • portStartintegerRequired

        The first port.

        min 1, max 65535
      • portEndintegerRequired

        The last port, equal to portStart for one port.

        min 1, max 65535
  • hasMorebooleanRequired

    True 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 nullRequired

    Pass 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.

Updated 5 November 2026. Generated from the API contract.

Need a server, or a hand with one?

Pick a plan to deploy a server, or open a ticket in the panel. Support runs 24/7/365.