Policy Guards (EAP)

List Policy Guard Scopes

Changed on

List all guarding policies scopes.

get/v2/policy_guards/scopes

Request

  • Base URL
    https://api.permit.io (the document declares no server; this is the origin it was published from)
  • Auth
    HTTP bearer

Query parameters

pageinteger

Page number of the results to fetch, starting at 1.

per_pageinteger

The number of results per page (max 100).

Response

Successful Response

keystring required

The unique key of the policy guard scope.

idstring uuid required

Unique id of the ScopeConfig

organization_idstring uuid required

Unique id of the organization that the ScopeConfig belongs to.

Example response

[
  {
    "id": "c3b6f5d7-8b1e-4c6d-9e9f-8c9d6f8e0c8f",
    "key": "policy_guard_acme",
    "org_id": "c3b6f5d7-8b1e-4c6d-9e9f-8c9d6f8e0c8f",
    "policy_guard_scope_details": [
      {
        "project_id": "c3b6f5d78b1e4c6d9e9f8c9d6f8e0c8f"
      }
    ]
  }
]

Changes