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

Update policy

Update an existing policy. Updating a policy creates a new version — the previous version is preserved for audit history. The logicalId remains the same across versions.

Path Parameters

ParameterTypeRequiredDescription
idstring (UUID)YesPolicy UUID to update

Request Body

FieldTypeRequiredDescription
namestringNoUpdated policy name
descriptionstringNoUpdated description
typestringNoUpdated action type
statusstringNoDRAFT, PENDING_APPROVAL, ACTIVE, INACTIVE, or ARCHIVED
enforcementModestringNoSTRICT or AUDIT_ONLY
conditionLogicstringNoALL or ANY
policyGroupIdstring (UUID)NoPolicy group to associate (nullable)
conditionsarrayNoReplacement array of conditions
actionsarrayNoReplacement array of actions

Note: Updates to ACTIVE policies may require approval depending on your organization's settings.

Required Permission

policies:edit

On this page

  • Path Parameters
  • Request Body
  • Required Permission
  1. Cubewire Wallet
  2. Manage Policies
  3. Update policy

Update policy

Update an existing policy. Updating a policy creates a new version — the previous version is preserved for audit history. The logicalId remains the same across versions.

Path Parameters

ParameterTypeRequiredDescription
idstring (UUID)YesPolicy UUID to update

Request Body

FieldTypeRequiredDescription
namestringNoUpdated policy name
descriptionstringNoUpdated description
typestringNoUpdated action type
statusstringNoDRAFT, PENDING_APPROVAL, ACTIVE, INACTIVE, or ARCHIVED
enforcementModestringNoSTRICT or AUDIT_ONLY
conditionLogicstringNoALL or ANY
policyGroupIdstring (UUID)NoPolicy group to associate (nullable)
conditionsarrayNoReplacement array of conditions
actionsarrayNoReplacement array of actions

Note: Updates to ACTIVE policies may require approval depending on your organization's settings.

Required Permission

policies:edit

On this page

  • Path Parameters
  • Request Body
  • Required Permission