This doesn't appear to have worked for me. Any insight?
1) create the subaccount (HelpDesk) and add myself as admin
2) locate the subaccount in the accounts table:
canvas_production=# SELECT name,parent_account_id,root_account_id FROM accounts;
name | parent_account_id | root_account_id
--------------------------+-------------------+-----------------
Manually-Created Courses | 1 | 1
Helpdesk 201 | 1 | 1
Helpdesk 101 | 1 | 1
default domain | |
Site Admin | |
HelpDesk | 1 | 1
HelpDesk | 1 | 1
(8 rows)
**There are (2) HelpDesk values listed because I had created, deleted, and recreated.
3) set the values for Parent ID and Root Account ID to NULL
canvas_production=# UPDATE accounts SET parent_account_id=NULL, root_account_id=NULL WHERE name='HelpDesk';
UPDATE 2
4) verify the values are NULL
canvas_production=# SELECT name,parent_account_id,root_account_id FROM accounts;
name | parent_account_id | root_account_id
--------------------------+-------------------+-----------------
Manually-Created Courses | 1 | 1
Helpdesk 201 | 1 | 1
Helpdesk 101 | 1 | 1
default domain | |
Site Admin | |
HelpDesk | |
HelpDesk | |