Only system administrators can delete parent departments. Go to the left sidebar > Click on "Administration" > Click on "Organization" > Click on "Departments" > Select the department > Click on the pencil button next to the "Parent department" field.