Privicore
  1. Policy
Privicore
  • Privicore API
  • Utility
    • Utility
    • Check server health
      GET
    • Request command id status
      GET
  • Profile
    • Profile Model and Authentication Workflow
    • Register new profile
      POST
    • Authenticate
      POST
    • Retrieve profile id
      GET
    • Change password
      POST
    • Generate qr token for authorization
      POST
    • Reauthorize authorization token
      POST
    • Revoke authorization token
      POST
    • Retrieve token expiry
      POST
  • OAuth Application
    • OAuth Application Management
    • Register OAuth Application
      POST
    • Retrieve OAuth app configuration
      POST
    • Request OAuth app authorization code
      GET
    • Retrieve OAuth app authorization code
      POST
    • Obtain OAuth app access token
      POST
    • OAuth application list
      GET
    • Retrieve OAuth application scope
      GET
    • Refresh OAuth app access token
      POST
  • Public key
    • Public and Private Key Management
    • Generate your private and public keys
    • Register public key
    • Retrieve public key
    • Retrieve CAB public key
  • Data Token
    • Data Token Management
    • Reserve token space
    • Retrieve temporary data token
    • Exchange data for token
    • Upstream file via stream auth
    • Request data via token
    • Download data
    • Configure information security risk meta
    • Configure file meta
    • List data tokens
    • Update data token
    • Delete data
  • Device
    • Device Management
    • Request unique identifier (i.e. Register new device)
    • Retrieve unique identifier
    • Retrieve profile devices
    • Configure device meta
    • Approve device
    • Reject device
    • Retrieve device configuration
    • Remove device
  • Storage
    • Storage Device Management
    • Register storage device
    • List storage devices
    • Synchronize device
    • Remove storage
  • Verified authenticator
    • Authenticator and Voting Management
    • Register authenticator
    • List verified authenticators
    • Retrieve voting strategy
    • Set quorum size
    • Set quorum strategy
    • Set voting time limit
    • Set maximum voting attempts
    • Remove authenticator
    • Register voting configuration
    • Update voting configuration
    • List voting configurations
    • Retrieve voting configuration
  • Policy
    • Policy Management
    • List policy templates
      GET
    • Register policy
      POST
    • List active policies
      GET
    • List inactive policies
      GET
    • Activate policy
      POST
    • Deactivate policy
      POST
    • Delete policy
      POST
    • List registered policies
      GET
    • Retrieve registered policy
      GET
  • Voting
    • Voting Operations
    • Create voting
    • Check pool status
  • Websockets
    • WebSocket Integration
    • Establishing Connection
    • Join Channel
    • Leave Channel
    • Command Status Messages
    • Data Download Messages
  • Schemas
    • Response
      • CommandAccepted
      • Unauthorized
      • ValidationErrors
    • Schemas
    • profileId
    • deviceIdentifier
    • directoryId
    • directoryName
    • directoryShortName
    • givenName
    • familyName
    • createdAt
    • meta
  1. Policy

List active policies

GET
/policy/list-active-policies

Overview#

Retrieve a list of all active policies currently enforcing authorization rules for your profile.

List Active Policies#

Endpoint: GET /policy/list-active-policies
Authentication: Required (Authorization token obtained from the step)

Use Case#

Use this endpoint to view all policies that are currently active and evaluating operations. Active policies:
Evaluate operations matching their configured events
Trigger voting workflows when conditions are met
Apply associated voting configurations for authorization
Enforce rules in real-time as operations occur
The response includes for each active policy:
Policy identifier and name
Template used to create the policy
Events that trigger the policy
Configuration parameters
Associated voting configuration
Voting attributes
This is useful for:
Auditing current authorization enforcement
Understanding which operations require voting
Troubleshooting unexpected voting triggers
Verifying security posture
Identifying policies for deactivation or modification
Only active policies are returned - use list inactive policies for inactive policies
Use list registered policies to see all policies regardless of state
Active policies are immediately enforcing rules
Deactivate policies that should not be enforcing to prevent unexpected voting triggers

Request

Header Params

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://sandbox.privicore.com:9009/policy/list-active-policies' \
--header 'X-DPT-AUTHORIZATION;'

Responses

🟢200OK
application/json
OK
Body

Example
[
    {
        "id": "example_policy_id",
        "policyId": "template_id",
        "configuration": [
            "string"
        ],
        "active": 1,
        "applyingEventIds": [
            "string"
        ],
        "createdAt": "2025-02-10T10:03:06+00:00"
    }
]
Modified at 2025-12-31 12:16:22
Previous
Register policy
Next
List inactive policies
Built with