Skip to Content

ListPermissionRegistry

GET
/auth/v1/organizations/{org_id}/policies/permissions

Authorization

headerX-API-Key<token>

API key for protected endpoints, supplied in the X-API-Key header.

Path Parameters

org_id*org_id

Query Parameters

types?array<string>
limit?limit
Formatint32
offset?offset
Formatint32

Response Body

200application/json

Success

type: unknown

{
  "$ref": "#/components/schemas/auth.v1.PermissionRegistryResponse",
  "$ref-value": {
    "type": "object",
    "properties": {
      "permissions": {
        "type": "array",
        "items": {
          "$ref": "#/components/schemas/auth.v1.RegisteredPermission",
          "$ref-value": {
            "type": "object",
            "properties": {
              "name": {
                "type": "string",
                "title": "name"
              }
            },
            "title": "RegisteredPermission",
            "additionalProperties": false
          }
        },
        "title": "permissions"
      },
      "total": {
        "type": "integer",
        "title": "total",
        "format": "int32"
      }
    },
    "title": "PermissionRegistryResponse",
    "additionalProperties": false
  }
}
default
curl -X GET 'https://api.rixl.com/auth/v1/organizations/string/policies/permissions'

Success

application/json

{
  "$ref": "#/components/schemas/auth.v1.PermissionRegistryResponse",
  "$ref-value": {
    "type": "object",
    "properties": {
      "permissions": {
        "type": "array",
        "items": {
          "$ref": "#/components/schemas/auth.v1.RegisteredPermission",
          "$ref-value": {
            "type": "object",
            "properties": {
              "name": {
                "type": "string",
                "title": "name"
              }
            },
            "title": "RegisteredPermission",
            "additionalProperties": false
          }
        },
        "title": "permissions"
      },
      "total": {
        "type": "integer",
        "title": "total",
        "format": "int32"
      }
    },
    "title": "PermissionRegistryResponse",
    "additionalProperties": false
  }
}