Script call to remove only armor from an actor?

I wanna be sure I have it correct; would it be something like this?

$gameActors.actor(x).clearEquipments(aTypeId);


I have only one type of armor, so the ID part isn't much of a hassle for me.
Try that one, if that doesn't work try this:

Code:
$gameActors.actor(x).changeEquip(3, null); // remove slot 3 (armor by default)
Thanks, but I have changed the default equipment types, so using the slot ID won't work too well. [For reference, it's Weapon, Shield, Head, Body, Arms, Legs and Other, in this order.]
Some actors have classes that dual wield weapons and I don't want weapons to be removable, thus why I was hoping to quite literally remove equips by their armor type.

Original thread: https://forums.rpgmakerweb.com/threads/script-call-to-remove-only-armor-from-an-actor.132911/