Skip to content
Navigation

List the organization’s network policies

Lists the live (non-revoked) policies of the caller’s organization, oldest id first. Query: cursor (the nextCursor of the previous page) and limit (1–100, default 50). Authorization: any member of the organization.

GET
https://api.cloudraker.com/network-policies
Try it
Query parameters
Live API request

Authorization

  • bearerAuth
    HTTP
    required

Query parameters

  • cursor
    optional
    string
    pattern: ^net_[0-9A-HJKMNP-TV-Z]{26}$
  • limit
    optional
    integer
    maximum: 100 · minimum: 1

Returns

200

One page of policies.

JSON
  • data
    array of
    object
    required
    • id
      string
      required
      pattern: ^net_[0-9A-HJKMNP-TV-Z]{26}$
    • name
      string
      required
    • hosts
      map of
      object
      required
    • createdAt
      string
      required
      format: date-time · pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$
    • createdBy
      string
      required
    • revokedAt
      required

      Set once the policy is revoked. A revoked policy stays READABLE for history and every egress request under it is denied.

      Any of the following:

      • string
      • null
  • nextCursor
    string | null
    required

400

Validation Error
JSON
  • success
    false
    required
  • error
    array of
    unknown
    required
  • data
    unknown
    required

Type to search…

↑↓ navigate↵ selectEsc close