PUT Update Parmfile
Update Parmfile REST API is used to update data in Parmfile.
Method | URI |
---|---|
PUT |
/cdwebconsole/svc/secureplusparameterfile |
Parameter Name | Required/Optional | Description | Valid values |
---|---|---|---|
action |
Required |
Specifies the action to perform on parmfile |
Valid values : rekey, sync, validate |
secureNodeName | Otional | Specifies the node name or alias name | Net1 |
seedValue | Optional | Specifies a seed value to rekey the Secure Plus parmfile, Minimum of 32 characters. Seed value is valid only in case action is Rekey. |
The following example shows the Command:
curl -X 'PUT' \
'https://172.20.186.254:9443/cdwebconsole/svc/secureplusparameterfile' \
-H 'Authorization: eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbmlzdHJhdG9yOjE3Mi4yMC4xODYuMjU0OjIzNjM6MDU5YTU0MWMtN2U1ZS00NWZjLTkyY2YtMmMwZjY3MmJjZTFhIiwiZXhwIjoxNzE1OTI3NjgxfQ.BDNQwaDKk3OenHWXjjucQ54EMw14YsqO17-EyACVoybDyhuFtfTeE9P4kR__HdVa98MIpL_2HHrVK8XVYRKX-A' \
-H 'Content-Type: application/json' \
-H 'X-XSRF-TOKEN: 4d33b01d-c58f-443f-84c6-1f5337f67db7' \
-d '{"action":"sync","secureNodeName":"net1","seedValue":""}'
The following example shows the Sample Response:
[
{
"messageCode": 200,
"message": "The Secure Plus parameter file has been successfully synchronized"
}
]