Save infrastructure configuration to .env file
PUT/api/infra/config
Save infrastructure configuration to .env file
Request
Responses
- 200
- 400
- 401
- 403
Save outcome. A failed disk write answers 200 with saved: false, so read the flag, not the status.
Rejected before anything was written: an invalid or unknown field, an unknown engine type, a value with a line break or one that cannot be stored, a configuration that would not boot in production or that the boot environment validation rejects, or a media storage path the app cannot write to.
The API key is missing, unknown, revoked, or expired
The API key's role, session or chat scope, or IP allow-list does not allow this operation