Skip to main content

Update environment variable

PUT 

/v2/acts/:actorId/versions/:versionNumber/env-vars/:envVarName

ClientsApify API Python Client ReferenceUpdates Actor environment variable using values specified by a EnvVar object passed as JSON in the POST payload. If the object does not define a specific property, its value will not be updated.

The request needs to specify the Content-Type: application/json HTTP header!

When providing your API authentication token, we recommend using the request's Authorization header, rather than the URL. (More info).

The response is the EnvVar object as returned by the Get environment variable endpoint.

Request

Responses

Response Headers