Skip to main content

Get policy

Returns a policy by ID

Path Parameters
    id string required
Responses

A successful response.


Schema
    policy object
    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/:id

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
id — path required
curl / cURL
curl -L -X GET 'http://127.0.0.1:7400/v1beta1/policies/:id' \
-H 'Accept: application/json'