Get Account Capabilities
GET/distribution-wallets/:id/capabilities
Reports what the caller may do on one distribution account, combining their tenant-wide role with the role they hold on that account.
Owners can also ask what a third party could do, by passing user_id. Add role alongside it to ask hypothetically what that user could do if granted that role. role cannot be sent on its own and returns 400 without user_id. This backs the dashboard's access-granting picker, which warns when a grant would be inert because the user's tenant-wide role already excludes the action.
Request
Responses
- 200
- 400
- 401
- 403
- 404
Capabilities retrieved successfully
Bad Request
Unauthorized
Forbidden
Not Found