Modify the name, description, or permissions of an existing team role via the Dashboard API. Permission changes apply to all members assigned that role.
Use this endpoint to modify an existing role on your Shogun account. You can update the role’s name, description, or replace its set of permissions. Changes apply immediately and affect every team member who currently holds that role — their effective permissions are updated on their next authenticated request.
A replacement set of permission code strings for this role (e.g. ["transfer.initiate", "account.view"]). When provided, this fully replaces the existing permission set. Use Fetch Permissions to retrieve valid codes.