Can I remove / hide a slot of a Spine Object?

I have tried this to hide the slot which named slot_01:

  const slot = spineObj.findSlot('slot_01')
  slot.setAttachment(null)  // try to remove all attachments of the slot

But it works nothing.

Is here any method to hide or remove certain slot of a Spine Game Object?

Thx.

spineObj.setSlotAlpha('slot_01', 0);

Thanks.
But it seems a new method that is not supported in spine-plugin/4.1. :smiling_face_with_tear: