Stop a Peer

post

/console/admin/api/v1.1/nodes/peers/{peerId}/stop

Stop designated peers.

On Oracle Cloud Infrastructure (Gen 2) you must specify the content length using the -H "content-length: 0" parameter.

Request

Supported Media Types
Path Parameters
Back to Top

Response

Supported Media Types

200 Response

Node status message
Body ()
Root Schema : schema
Type: object
Show Source

400 Response

Invalid argument
Body ()
Root Schema : 400errorModels
Type: object
Show Source
Example:
{
    "respMesg":"invalid argument"
}

401 Response

Unauthorized

403 Response

Forbidden

404 Response

Not Found

500 Response

Internal Server Error
Body ()
Root Schema : 500errorModels
Type: object
Show Source

Default Response

Unexpected error
Body ()
Root Schema : errorModel
Type: object
Show Source
Back to Top