latestOpenAPI 3.0.32026-08-224982,0272.8 MB

e445c15e5bee

User Management

Update users role in an enterprise

Update a users role in an enterprise. Must be an enterprise manager to perform this action.

put/api/v2/enterprise/{enterpriseId}/user

Path parameters

enterpriseIdstring required
Example:59cd72485007a239fb00282ed480da1f

Query parameters

userIdstring required
Example:59cd72485007a239fb00282ed480da1f
'admin' | 'auditor' | 'wallet.create' 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
  3. 'wallet.create': Allows the user to create new wallets within an enterprise (UMS granular permission)
OR
'member' required

This type represents the member permission that can be assigned to a user when adding them to an enterprise

  1. 'member': Receive invitations to wallets

Response

OK

{"stackTrail":"paths:/api/v2/enterprise/{enterpriseId}/user:put:responses:200:content:application/json:schema","oasType":"schema","type":"unknown","title":"JSON"}