Raff Apps
Set environment variable
Changed onCreate 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
Request
- Base URLhttps://api.rafftechnologies.com
- URLhttps://api.rafftechnologies.com/api/v1/apps/services/{service_id}/env
- AuthAPI key in header X-API-Key
Path parameters
service_idstring required
App service ID (UUID) or short id (the service_id field)
Request body
Response
Variable set
Changes
- info
added the new optional request property
- info
added the optional property
//to the response with the status
- info
- info
endpoint added
- info