Set Secure Variables to all Scripted Actions via Powershell (API)



we do have a need to set secure variables to all our customers (like DevOpsToken, Service User....) and bind them to all scripted actions via nmm API call  with powershell, we already have a function for that. Unfortunately there is no way to make an API call (/rest-api/v1/accounts/{accountId}/secure-variables) and set "all" in the json file for all scripts. At the moment, it only supports integer.  Example for the json file ->


  "name": "Variabletest",

  "scriptedActions": [1,2,3], <- is there a number for all scripts?

  "value": "Vari



Would be great, if this could be added to the API someday.


Comments (0 comments)

Please sign in to leave a comment.