Use the following POST request to update node retention using the API.
Note: Requires root user credentials.
http://<Controller Host>:<PORT>/controller/rest/configuration?name=node.retention.period&value=<VALUE>
Example:
Set node.retention.period
parameter to 50.
http://ec2-52-90-35-22.compute-1.amazonaws.com:8090/controller/rest/configuration?name=node.retention.period&value=50
POST request