Welcome Serena Central users! CLICK HERE
The migration of the Serena Central community is currently underway. Be sure to read THIS MESSAGE to get your new login set up to access your account.
achinayoung_wau Respected Contributor.
Respected Contributor.

Adding command control rule via REST with 3.5

How do you add a command control rule in 3.5 with the REST API? According to the REST API documentation, the POST URL is "/rest/cmdctrl/rule/{name}".  However, regardless of what I use for {name}, I get back:

  "vrm": "3.5.0-3",
  "status": 400,

Or are we to use PUT on "/rest/cmdctrl/Policies" to add a new rule? Seems doubtful.

And, what if your have a hierarchy of rules (e.g. Rules->UNIX (ssh)->Test Servers)? How do you add the new rule under "Test Servers" in this hierarchy?

The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.