Set environment variables
Upserts one or more variables, and removes others, in ONE change: { "vars": { "NAME": "value" }, "remove": ["OLD_NAME"] } (either may be omitted, not both). Saving restarts the app once, on the version already running, so the change is live within about a minute — send every change together rather than one request each, or the app restarts once per request. id is a SERVICE id — take it from services[].id on GET /client/apps/{appId}, not the app id itself. Requires apps:deploy.
Names Roar manages are refused, and the refusal says what your app already has.
A 409 means somebody else was saving at the same moment and NOTHING of yours was written — send the same request again. It is never a partial save.
Request
- Base URL: https://api.roar-ai.com
- URL: https://api.roar-ai.com/client/services/{id}/env
- Auth: HTTP bearer
Path parameters
Response
Saved
Changes
No recorded changes to this operation across all 1 revision of this API.