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 inactive policies

GET
/policy/list-inactive-policies

Overview#

Retrieve a list of all inactive policies registered under your profile that are not currently enforcing authorization rules.

List Inactive Policies#

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

Use Case#

Use this endpoint to view all policies that are registered but not currently active. Inactive policies:
Retain all configuration (events, parameters, voting configuration)
Do not evaluate operations or trigger voting workflows
Can be activated at any time to begin enforcement
Are useful for temporarily suspending policies without losing configuration
The response includes for each inactive policy:
Policy identifier and name
Template used to create the policy
Events that would trigger the policy when active
Configuration parameters
Associated voting configuration
Voting attributes
This is useful for:
Reviewing configured but suspended policies
Identifying policies that can be activated when needed
Managing policy lifecycle without deleting configurations
Testing policy configurations before activation
Maintaining backup policies for different security contexts
Only inactive policies are returned - use list active policies for active policies
Use list registered policies to see all policies regardless of state
Inactive policies do not enforce rules or trigger voting
Activate policies when ready to begin enforcement using the activate policy endpoint

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-inactive-policies' \
--header 'X-DPT-AUTHORIZATION;'

Responses

🟢200OK
application/json
OK
Body

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