REST API node down

How to use the REST API to start node down tasks.

Request URLs
/ibmsa/v2/nodes/down
/ibmsa/v2/node/down
Method
PUT
Request data
node: <int>

Specifies the node ID to disable.

library: <string>

Specifies the name of the tape library with which the node is associated. In a single tape library configuration, this option can be omitted.

Response data
status: <string>
If the task got created successfully, it will return accepted.
task_id: <number>
The ID of the task created, monitor its progress using REST API task information.
Example
node down
PUT /v2/nodes/down -d '{"node":2, "library":"LIBLL0"}' -b cookies.txt-H 'Content-Type:application/json'