Authorization Denied while trying to view action info

Authorization Denied while trying to view action info

Hi,
      I was trying to read the info of an action that called my analysis so i can deactivate the action via the analysis.

      But when i tried to do it it says i do not have enough permission even though i have enabled the analysis to access and edit the tagged action as well as full access to the account. What other permissions am i missing?

      And is this the correct way to deactivate the action through Resources.actions.edit?

      const action_change= await Resources.actions.edit(action_id, {active: false})
      console.log(action_change);