API - move/restore/unarchive subitem

Hello everyone,
I would appreciate a recommendation for any possible way using JS and/or API to perform the following actions:

  1. Moving a subitem.
  2. Recovering a deleted subitem.
  3. Recovering a subitem that has been archived.