How can I set zoom property?

I want to change the zoom property value of the document.

        const result = await batchPlay(
         [
            {
               "_obj": "set",
               "_target": [
                  {
                   "_ref": "zoom",
                   "_enum": "ordinal",
                   "_value": "targetEnum",
                   }
               ],
               "to": {
                  "_unit": "percentUnit",
                  "_value": 0.5
               },
               "_options": {
                  "dialogOptions": "dontDisplay"
               }
            }
         ],{
            "synchronousExecution": false,
            "modalBehavior": "fail"
         });
         

I wrote the code, but only the message window says “Set command is not available”.
Please help me.