doc/api/group_category_csv.md
Group categories can be updated in bulk by using the Group Categories Import API. Each row in a CSV file represents a user to be added to a group in the group category.
Groups that don't exist in the UI will be created. Groups that are created will only use the group_name column for creation. User columns in the file are used to identify the user to be added to the group. Users names are available in the group_category export, but not used or updated in the import process.
Standard CSV rules apply (including adherence to the CSV RFC 4180 format):
All text should be UTF-8 encoded.
* canvas_user_id, user_id, or login_id is required and group_name, canvas_group_id or group_id is required.
Sample:
<pre> canvas_user_id,user_id,login_id,group_name,canvas_group_id,group_id 92,,,Awesome Group,, ,13aa3,,,45, ,,mlemon,,,g125 </pre> <pre> canvas_user_id,user_id,login_id,group_name 92,,,Awesome Group ,13aa3,,Other Group ,,mlemon,Awesome Group </pre>