Raff Apps
Set environment variable
Create or update one variable. By default the change rolls out to running replicas. Set redeploy: false to defer it to the next deploy.
A variable with scope of build or both is passed to the image build, so changing it triggers a rebuild rather than a restart.
put/api/v1/apps/services/{service_id}/env
Path parameters
service_idstring required
App service ID (UUID) or short id (the service_id field)
Request body
Response
Variable set