There is no way to configure the workspace on a per-layer basis, it will end up in the same workspace of the store it comes from. So, to change the workspace of a layer, you'll have to change the workspace of its store. That will also move all other layers coming from the same store, mind.

Only top voted, non community-wiki answers of a minimum length are eligible