cURL
curl --request PUT \ --url https://api.mudstack.com/accounts/members/{user_id} \ --header 'Authorization: Bearer <token>' \ --header 'x-account-id: <x-account-id>'
Update the role of a user in the current account.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The ID of the user to update.
The roles to assign to the user.
Successfully updated the user's role.
Was this page helpful?