subaccounts

Put Subaccount Grant

Changed on

Assign or change a member's role on a subaccount. The role name is expanded to permission strings server-side; audit rows come from the DB trigger.

put/v1/subaccounts/{subaccount_id}/grants/{user_id}

Request

  • Base URL
    https://api.rivermarkets.com (the document declares no server; this is the origin it was published from)
  • URL
    https://api.rivermarkets.com/v1/subaccounts/{subaccount_id}/grants/{user_id}
  • Auth
    none declared

Path parameters

subaccount_idstring required
user_idstring uuid required

Request body

role'admin' | 'trader' | 'viewer' required

Response

Successful Response

user_idstring uuid required
permissionsstring[] required
rolestring required

Changes