Projects & Environments

Update environment

Changed on

Update the details of the environment with the provided ID.

patch/environments/{environmentId}

Request

  • Base URL
    https://api.render.com/v1
  • Auth
    HTTP bearer

Path parameters

environmentIdstring required

Request body

namestring
networkIsolationEnabledboolean

Indicates whether network connections across environments are allowed.

protectedStatus'unprotected' | 'protected'

Indicates whether an environment is unprotected or protected. Only admin users can perform destructive actions in protected environments.

Response

Updated

idstring required
namestring required
projectIdstring required
databasesIdsstring[] required
redisIdsstring[] required
serviceIdsstring[] required
envGroupIdsstring[] required
protectedStatus'unprotected' | 'protected' required

Indicates whether an environment is unprotected or protected. Only admin users can perform destructive actions in protected environments.

networkIsolationEnabledboolean required

Indicates whether network connections across environments are allowed.

Changes

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status