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 Permissions
  3. Update role

Update role

Update a custom role. System roles cannot be updated. Use to modify permissions or metadata.

Path Parameters

ParameterTypeRequiredDescription
idUUIDYesRole identifier

Request Body

FieldTypeRequiredDescription
displayNamestringNoHuman-readable display name (1-100 chars)
descriptionstringNoRole description (max 500 chars)
permissionsarray of stringNoArray of permission IDs (min 1 item if provided)

Use Cases

  • Add or remove permissions from custom role
  • Update role name or description
  • Adjust role for changing requirements

Required Permission

roles:update

In the Wallet App

  1. Go to Settings → Roles tab.
  2. Find the custom role and click Edit.
  3. Update the name, description, or toggle permissions as needed.
  4. Save changes — they take effect immediately for all users assigned this role.

On this page

  • Path Parameters
  • Request Body
  • Use Cases
  • Required Permission
  • In the Wallet App
  1. Cubewire Wallet
  2. Manage Permissions
  3. Update role

Update role

Update a custom role. System roles cannot be updated. Use to modify permissions or metadata.

Path Parameters

ParameterTypeRequiredDescription
idUUIDYesRole identifier

Request Body

FieldTypeRequiredDescription
displayNamestringNoHuman-readable display name (1-100 chars)
descriptionstringNoRole description (max 500 chars)
permissionsarray of stringNoArray of permission IDs (min 1 item if provided)

Use Cases

  • Add or remove permissions from custom role
  • Update role name or description
  • Adjust role for changing requirements

Required Permission

roles:update

In the Wallet App

  1. Go to Settings → Roles tab.
  2. Find the custom role and click Edit.
  3. Update the name, description, or toggle permissions as needed.
  4. Save changes — they take effect immediately for all users assigned this role.

On this page

  • Path Parameters
  • Request Body
  • Use Cases
  • Required Permission
  • In the Wallet App