Skip to main content

List all policies

Lists all the policies from all the organizations in a Frontier instance. It can be filtered by organization, project, user, role and group.

Query Parameters
    org_id string

    The organization id to filter by.

    project_id string

    The project id to filter by.

    user_id string

    The user id to filter by.

    role_id string

    The role id to filter by.

    group_id string

    The group id to filter by.

Responses

A successful response.


Schema
    policies object[]
  • Array [
  • id string
    title string
    created_at date-time

    The time the policy was created.

    updated_at date-time

    The time the policy was last updated.

    role_id string
    resource namespace:uuid
    principal namespace:uuid
    metadata object
  • ]
GET /v1beta1/policies

Authorization

name: Basic type: httpdescription: use Client ID as username and Client Secret as passwordin: headerscheme: basic

Request

Base URL
http://127.0.0.1:7400
Security Scheme
Username
Password
org_id — query
project_id — query
user_id — query
role_id — query
group_id — query
curl / cURL
curl -L -X GET 'http://127.0.0.1:7400/v1beta1/policies' \
-H 'Accept: application/json'