Cubewire LogoDeveloper
Support
Onboarding
Cubewire Developer Hub Logo
SOC 2 Compliant

Developer documentation and tools for Cubewire's digital wallet infrastructure. Built for developers, by developers.

developers@cubewire.com
TwitterGitHubDiscord

Developer Tools

  • API Documentation
  • API Reference

Resources

  • Documentation

Company

  • About
  • Contact

Legal

  • Privacy Policy
  • Terms of Service
© 2026 Cubewire. All rights reserved.
Developer Documentation Portal•Built with ♥ for developers
  1. Cubewire Wallet
  2. Manage Policies
  3. List archived policies

List archived policies

Retrieve all policies that have been soft-deleted (archived) for the organization. Only policies with a deletedAt timestamp are returned. Use Restore archived policy — POST /api/v1/policies/logical/{logicalId}/restore to recover one.

Response Fields

Each archived policy in the response includes:

FieldTypeDescription
idstringPolicy version identifier
logicalIdstringStable identifier shared across all versions
versionnumberPolicy version number
isLatestbooleanWhether this is the latest version of the policy
namestringPolicy name
descriptionstringDetailed policy description
statusstringStatus at time of deletion
conditionLogicstringHow conditions are combined (ALL or ANY)
enforcementModestringEnforcement level (STRICT, ADVISORY, LOG_ONLY)
typestringPolicy type
prioritynumberPolicy priority
organizationIdstringOwning organization
conditionsarrayConditions that determine when policy matches
actionsarrayActions to execute when policy matches
createdAtstringWhen policy was created (ISO 8601)
updatedAtstringWhen policy was last modified (ISO 8601)
createdBystringID of user who created the policy
updatedBystringID of user who last updated the policy
deletedAtstringWhen the policy was archived (ISO 8601)
deletedBystringID of user who deleted the policy

Use Cases

  • Audit trail of deleted policies
  • Recover an accidentally deleted policy
  • Review historical policy configurations

Required Permission

policies:read

On this page

  • Response Fields
  • Use Cases
  • Required Permission
  1. Cubewire Wallet
  2. Manage Policies
  3. List archived policies

List archived policies

Retrieve all policies that have been soft-deleted (archived) for the organization. Only policies with a deletedAt timestamp are returned. Use Restore archived policy — POST /api/v1/policies/logical/{logicalId}/restore to recover one.

Response Fields

Each archived policy in the response includes:

FieldTypeDescription
idstringPolicy version identifier
logicalIdstringStable identifier shared across all versions
versionnumberPolicy version number
isLatestbooleanWhether this is the latest version of the policy
namestringPolicy name
descriptionstringDetailed policy description
statusstringStatus at time of deletion
conditionLogicstringHow conditions are combined (ALL or ANY)
enforcementModestringEnforcement level (STRICT, ADVISORY, LOG_ONLY)
typestringPolicy type
prioritynumberPolicy priority
organizationIdstringOwning organization
conditionsarrayConditions that determine when policy matches
actionsarrayActions to execute when policy matches
createdAtstringWhen policy was created (ISO 8601)
updatedAtstringWhen policy was last modified (ISO 8601)
createdBystringID of user who created the policy
updatedBystringID of user who last updated the policy
deletedAtstringWhen the policy was archived (ISO 8601)
deletedBystringID of user who deleted the policy

Use Cases

  • Audit trail of deleted policies
  • Recover an accidentally deleted policy
  • Review historical policy configurations

Required Permission

policies:read

On this page

  • Response Fields
  • Use Cases
  • Required Permission