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. Delete policy

Delete policy

Archives a policy and all its versions.

Policies are soft-deleted by archiving. Archived policies can be restored via POST /policies/logical/:logicalId/restore. All versions sharing the same logicalId are archived together.

Path Parameters

ParameterTypeRequiredDescription
idstring (UUID)YesPolicy UUID to delete

Behavior

  • Archives the policy and all version history (soft delete)
  • All versions sharing the same logicalId are archived together
  • Archived policies can be restored via POST /policies/logical/:logicalId/restore

Required Permission

policies:delete

On this page

  • Path Parameters
  • Behavior
  • Required Permission
  1. Cubewire Wallet
  2. Manage Policies
  3. Delete policy

Delete policy

Archives a policy and all its versions.

Policies are soft-deleted by archiving. Archived policies can be restored via POST /policies/logical/:logicalId/restore. All versions sharing the same logicalId are archived together.

Path Parameters

ParameterTypeRequiredDescription
idstring (UUID)YesPolicy UUID to delete

Behavior

  • Archives the policy and all version history (soft delete)
  • All versions sharing the same logicalId are archived together
  • Archived policies can be restored via POST /policies/logical/:logicalId/restore

Required Permission

policies:delete

On this page

  • Path Parameters
  • Behavior
  • Required Permission