Functions
Set environment variable
Create or update one variable. Live functions roll the change out as a new revision with zero downtime. Keys prefixed PORT, K_ or RAFF_ are reserved.
put/api/v1/functions/{function_id}/env
Path parameters
function_idstring required
Function ID, short id (fn-…), URL slug, or name
Request body
Response
Variable set (response includes the config redeploy when one was started)