ShutdownNode2 - Algorand

Special management endpoint to shut down the node. Optionally provide a timeout parameter to indicate that the node should begin shutting down after a number of seconds.

Endpoint

httpPOST /v2/node/shutdown

Query Parameters

ParameterTypeRequiredDescription
timeoutintegerOptional—

Example

bashexport ALGO_ALGOD=https://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/

curl --location --request POST "${ALGO_ALGOD}v2/node/shutdown" \
--header 'Content-Type: application/json' \
--data-binary '<request body>'

Response

Returns HTTP 200 on success.

Error Handling

ErrorMessageDescription
400Bad requestA parameter was missing or malformed
404Not foundThe requested resource does not exist
403 / RBAC: access deniedAccess deniedThe GetBlock access token is missing or incorrect