How delete a pythom list from scene ID properties? I created a list using this method:

# assign a list
&gt;&gt;&gt; C.scene["mylist"] = [1, 1, 1, 1, 1, 1]
&gt;&gt;&gt; C.scene['mylist']
&lt;bpy id property array [6]&gt;
# save file, reopen
&gt;&gt;&gt; C.scene['mylist'].to_list()
[1, 1, 1, 1, 1, 1]


But how can I delete it completely?
del C.scene['mylist'] is a standard way of removing keys from dict-like objects in Python. It seems to work here, but I don't know if there are any pitfalls for doing this in Blender.