Update environment variable in Actor version (POST)
Changed onUpdates Actor environment variable using values specified by an EnvVar object passed as JSON in the POST payload. This endpoint is an alias for the Update environment variable in Actor version endpoint and behaves identically.
Request
- Base URLhttps://api.apify.com
- Auth
- HTTP bearer
- or API key in query parameter token
Path parameters
Actor ID or the username of the Actor owner and the Actor name, separated by a tilde (~).
Actor version.
The name of the environment variable
Request body
Example request
{
"name": "MY_ENV_VAR",
"value": "my-value"
}Response
Example response
{
"data": {
"name": "MY_ENV_VAR",
"value": "my-value",
"valueHash": "a1b2c3"
}
}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 - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status
- info
- info
added the optional property
/to the response with the status
- info