PUT /api/deployment/passphrase/nodemanager/{serviceID}
Description
Update the passphrase for a Node Manager's configuration.
Resource URL
https://localhost:8090/api/deployment/passphrase/nodemanager/{serviceID}?oldPassphrase=pass1&newPassphrase=pass2
Parameters
| serviceID | mandatory | The id of the Node Manager whose passphrase we wish to update. |
| oldPassphrase | mandatory | The old passphrase. |
| newPassphrase | mandatory | The new passphrase. |
Response Codes
| Response Code | Description |
|---|---|
| 204 | Success. |
| 500 | The response contains a server-side error. |
Example Request and Response
PUT https://localhost:8090//api/deployment/passphrase/nodemanager/nodemanager-1
{
"oldPassphrase" : "pass1"
"newPassphrase": "pass2"
}
HTTP 1.1 204 No Content