Skip to content

ListPolicies

GET
https://orgs.ezghcloud.com/v1/organizations/{orgId}/policies

Authorization

  • apiKeyoptionalHTTP
  • sessionCookieoptionalAPI key in cookie
  • oauthoptionalHTTP

Path parameters

  • orgIdstringrequired

Query parameters

  • limitoptionalstring
    pattern: ^[+-]?\d*\.?\d+(?:[Ee][+-]?\d+)?$
  • cursoroptionalstring

Returns

200

Success

JSON
  • policiesarray ofobjectrequired
    11 properties
    • idstringrequired
    • typemanagedorcustomrequired
    • namestringrequired
    • slugstringornullrequired
      2 variants

      One of the following:

      • string
      • null
    • resourceNamestringornullrequired
      2 variants

      One of the following:

      • string
      • null
    • descriptionstringrequired
    • documentobjectrequired
      1 properties
      • statementsarray ofobjectrequired
        4 properties
        • effectallowordenyrequired
        • actionsarray ofstringrequired
        • resourcesarray ofstringrequired
        • sidoptionalstring
    • statusactiveordeprecatedrequired
    • attachmentsnumberorstringrequired
      2 variants

      One of the following:

      • number
      • string
    • createdAtstringornullrequired
      2 variants

      One of the following:

      • string
      • null
    • updatedAtstringornullrequired
      2 variants

      One of the following:

      • string
      • null
  • nextCursorstringornullrequired
    2 variants

    One of the following:

    • string
    • null

400

InvalidCursor | InvalidRequest

JSON

One of the following:

401

Unauthenticated

JSON
  • errorobjectrequired
    2 properties
    • codeunauthenticatedrequired
    • messagestringrequired

403

AccessDenied | ForbiddenOrigin

JSON

One of the following:

404

NotFound

JSON
  • errorobjectrequired
    2 properties
    • codenot_foundrequired
    • messagestringrequired

429

TooManyRequests

JSON
  • errorobjectrequired
    2 properties
    • codetoo_many_requestsrequired
    • messagestringrequired

500

InternalError

JSON
  • errorobjectrequired
    2 properties
    • codeinternal_errorrequired
    • messagestringrequired

503

Unavailable

JSON
  • errorobjectrequired
    2 properties
    • codeunavailablerequired
    • messagestringrequired
Navigation

Type to search…

↑↓ navigate↵ selectEsc close