Restart an Environment
April 3, 2026
Restart all nodes
Some operations on Jahia Cloud require an environment restart to be applied. This action performs a rolling restart of all nodes in a cluster.
Endpoint
POST <CLOUD_URL>/modules/cloudAction/rollingRestartJahiaNodes.do
Example
CLOUD_URL="https://jahia.cloud" # Base URL of your Jahia Cloud instance
CLOUD_ENVNAME="my-env" # Must be unique across your organization, and can only contain lowercase letters, numbers and hyphens
CLOUD_ORG="jahiacloud" # Assigned to your organization by Jahia, used to construct the shortDomain
CLOUD_SHORTDOMAIN="${CLOUD_ENVNAME}-${CLOUD_ORG}" # Short domain for the new environment
CLOUD_PAT="PRIVATE_TOKEN" # Cloud Perstonal API Token generated from the Jahia Cloud UI.
curl -i "${CLOUD_URL}/modules/cloudAction/rollingRestartJahiaNodes.do" \
-H "Authorization: APIToken ${CLOUD_PAT}" \
-X POST \
-H "Accept: application/json" \
-H "Content-Type: application/x-www-form-urlencoded; charset=UTF-8" \
--data-raw "orgName=${CLOUD_ORG}&envName=${CLOUD_SHORTDOMAIN}"
Expected result
HTTP 200 on success.
{
"jcResponse": 0
}
Restart a single node
You can also restart a single node instead of the whole cluster.
Endpoint
POST <CLOUD_URL>/modules/cloudAction/restartNode.do
Example
CLOUD_URL="https://jahia.cloud" # Base URL of your Jahia Cloud instance
CLOUD_ENVNAME="my-env" # Must be unique across your organization, and can only contain lowercase letters, numbers and hyphens
CLOUD_ORG="jahiacloud" # Assigned to your organization by Jahia, used to construct the shortDomain
CLOUD_SHORTDOMAIN="${CLOUD_ENVNAME}-${CLOUD_ORG}" # Short domain for the new environment
NODE_ID="138231" # The ID of the node you want to restart. This variable can be fetched using the getContext.do endpoint.
CLOUD_PAT="PRIVATE_TOKEN" # Cloud Perstonal API Token generated from the Jahia Cloud UI.curl -i "${CLOUD_URL}/modules/cloudAction/restartNode.do" \
-H "Authorization: APIToken ${CLOUD_PAT}" \
-X POST \
-H "Accept: application/json" \
-H "Content-Type: application/x-www-form-urlencoded; charset=UTF-8" \
--data-raw "orgName=${CLOUD_ORG}&envName=${CLOUD_SHORTDOMAIN}&nodeId=${NODE_ID}"
Expected result
HTTP 200 on success.
{
"jcResponse": 0
}