How to delete an property of an intelligent component with a script?

How to delete an property of an intelligent component with a script?It’s like performing the minus sign operation in the following figure

The glyph has a property “smartComponentAxes”.
So you could do:

del(glyph.smartComponentAxes[1])
1 Like

Can this only be mapped by index?
can not
del(glyph.smartComponentAxes['w']) ?

Currently it works only by index.

oh,Thanks