PUT Stop Node API

The Stop Node API is used to stop Connect:Direct Server node.

Method URI

PUT

cdwebconsole/svc/stopnode

The following example shows the Command:
curl -X 'PUT' \
           'https://172.20.183.89:9443/cdwebconsole/svc/stopnode' \
           -H 'Authorization: eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbmlzdHJhdG9yOjE3Mi4yMC4xODYuMjAzOjEzNjM6NTdmODViNzktZjcyNS00NDE5LTllODEtMGM5ODVjYjA1Y2YwIiwiZXhwIjoxNzE1MTYzMTMyfQ.9MH_uSr_fCrFynh4QvpVfj1_7jfFbxCOvkL0igU9ZSfO7XZBdXqRDl-Zy88jT4aMEWqybU-Kx_f6J0qU4XyJOw' \
           -H 'Content-Type: application/json' \
           -H 'X-XSRF-TOKEN: 668c81d2-4413-4f8b-885d-de81d3da9849' \
           -d '{"stopType":"immediate"}'
Table 1. Input Parameters
Parameter Name Required/Optional Description Valid values

stopType

Required

Specifies the termination type for stopping the node.

Valid values are 'force,immediate,step,quiesce'

The following example shows the Sample HTTP User Request:
{
                   "stopType": "immediate"
                 }
The following example shows the Sample Response:
[
  {
    "messageCode": 200,
    "message": "Node stopped successfully"
  }
]