Update a Node Manager

patch

/nodeManagers/{id}

Updates a specified Node Manager.

Request

Path Parameters
Supported Media Types
Request Body - application/json;charset=utf-8 ()
Root Schema : schema
Type: object
Payload schema to update an existing node manager
Show Source
Back to Top

Response

Supported Media Types

200 Response

The Node Manager has been updated successfully.
Body ()
Root Schema : NodeManagerResponse
Type: object
Response schema for getting details of a node manager.
Show Source
Nested Schema : nodes
Type: array
Nodes managed by the node manager.
Show Source
Nested Schema : NodeReference
Type: object
Schema defining reference to get a node's information.
Show Source

400 Response

The server cannot process the request due to a client error.
Body ()
Root Schema : Error
Type: object
Used when an API encounters an Error, typically with a HTTP error response-code (3xx, 4xx, 5xx).
Show Source

401 Response

The client does not have the correct privileges.
Body ()
Root Schema : Error
Type: object
Used when an API encounters an Error, typically with a HTTP error response-code (3xx, 4xx, 5xx).
Show Source

403 Response

The request was not authorized.
Body ()
Root Schema : Error
Type: object
Used when an API encounters an Error, typically with a HTTP error response-code (3xx, 4xx, 5xx).
Show Source

404 Response

The requested resource cannot be found.
Body ()
Root Schema : Error
Type: object
Used when an API encounters an Error, typically with a HTTP error response-code (3xx, 4xx, 5xx).
Show Source

405 Response

This method is not allowed.
Body ()
Root Schema : Error
Type: object
Used when an API encounters an Error, typically with a HTTP error response-code (3xx, 4xx, 5xx).
Show Source

409 Response

The request could not be processed due to a conflict with the existing state of the resource.
Body ()
Root Schema : Error
Type: object
Used when an API encounters an Error, typically with a HTTP error response-code (3xx, 4xx, 5xx).
Show Source

500 Response

The system has encountered an internal server error.
Body ()
Root Schema : Error
Type: object
Used when an API encounters an Error, typically with a HTTP error response-code (3xx, 4xx, 5xx).
Show Source
Back to Top

Examples

This example shows how to update a node manager by submitting a PATCH request on the REST resource using cURL. For more information about cURL, see Use cURL.

curl -X PATCH 'http://hostname:port/nodeManagers/NMGR-31eoeh-otm-ln3hrqc9'

Example of the Response Body

If successful, the response code 201 is returned with the following response body.

{
  "host": "node-mgr-app",
  "href": "/nodemanagers/NMGR-31eoeh-otm-ln3hrqc9",
  "id": "NMGR-31eoeh-otm-ln3hrqc9",
  "name": "nodemgr1",
  "nodes": [
    {
      "href": "/nodes/31eoef-otm-lna53s09",
      "id": "31eoef-otm-lna53s09"
    },
    {
      "href": "/nodes/31eoef-otm-lna51qht",
      "id": "31eoef-otm-lna51qht"
    },
    {
      "href": "/nodes/31eoef-otm-lna4vku4",
      "id": "31eoef-otm-lna4vku4"
    },
    {
      "href": "/nodes/31eoep-otm-lnbhn159",
      "id": "31eoep-otm-lnbhn159"
    }
  ],
  "port": 32170,
  "statusMessage": "Informational - "
}
Back to Top