Get user entity level permissions

get/api/v2/internal/user/{userId}/entityLevelPermissions

Internal route to get user permissions at enterprise and wallet levels

Path Parameters

  • userIdstringRequired
    The user ID
    Example: 59cd72485007a239fb00282ed480da1f
    Pattern: ^[0-9a-f]{32}$

Query Parameters

  • enterpriseIdstringRequired
    The enterprise ID to filter by (required)
    Example: 59cd72485007a239fb00282ed480da1f
    Min length: >= 1 characters
  • walletWithPermissionsarray[string]
    Optional array of wallet permissions to filter by. Returns only wallets where the user has all of the specified permissions.
    Enum: admin spend view freeze trade dapp
  • prevWalletIdstring
    Optional previous wallet ID for pagination
  • limitstring<number>
    Optional limit for number of wallets returned (default 100)

200 Response

enterprises array[object] required
id string required
permissions array[string] required
This type represents the permissions that can be assigned to a user when adding them to an enterprise 1. 'admin': Add/remove users, Create wallets, Manage enterprise policies, Add Bank Accounts, Receive invitations to wallets 2. 'auditor': View audit logs across the enterprise, Receive invitations to wallets
Allowed values: admin auditor
wallets array[object] required
id string required
enterpriseId string required
permissions array[string] required
This type represents the permissions that can be assigned to a user when adding them to a wallet 1. 'admin': add/remove wallet policies, add/remove wallet users, approve/reject wallet pending approvals, withdraw assets from wallet, generate new receive addresses, view all balances and transactions 2. 'spend': withdraw assets from wallet, generate new receive addresses, view all balances and transactions 3. 'view': generate new receive addresses, view all balances and transactions 4. 'freeze': 5. 'trade': trade on a wallet - applicable only for trading wallets 6. 'dapp': connect to third-party dApps and provide them access to wallet operations
Allowed values: admin spend view freeze trade dapp
prevWalletId string

400 Response

name string
Error code
context object required
Properties that apply to a specific error name
error string required
Human-readable error message
requestId string required
Client request id

403 Response

name string
Error code
context object required
Properties that apply to a specific error name
error string required
Human-readable error message
requestId string required
Client request id

404 Response

name string
Error code
context object required
Properties that apply to a specific error name
error string required
Human-readable error message
requestId string required
Client request id