Update env file
Changed onOverwrites an environment file's content. Requires stack:edit permission.
Request
- Base URLhttps://localhost:1852
- URLhttps://localhost:1852/api/stacks/{stackName}/env
- AuthHTTP bearer
Path parameters
Stack directory name. Must match ^[a-zA-Z0-9_-]+$ (alphanumeric characters, hyphens, and underscores only). Returns 400 Invalid stack name if the name contains path separators, dots, spaces, or other special characters.
Query parameters
Path to a specific env file to update.
Headers
Target a specific node by ID. If omitted, the default node is used. Can also be passed as ?nodeId= query parameter.
Request body
Response
Env file saved.
Changes
- info
removed the
ADMIRAL_REQUIREDenum value from theresponse property for the response status - info
removed the
ADMIRAL_REQUIREDenum value from theresponse property for the response status - info
removed the
ADMIRAL_REQUIREDenum value from theresponse property for the response status
- info
- warning
added the new
PAID_REQUIREDenum value to theresponse property for the response status - warning
added the new
PAID_REQUIREDenum value to theresponse property for the response status - warning
added the new
PAID_REQUIREDenum value to theresponse property for the response status - info
removed the
PRO_REQUIREDenum value from theresponse property for the response status - info
removed the
PRO_REQUIREDenum value from theresponse property for the response status - info
removed the
PRO_REQUIREDenum value from theresponse property for the response status
- warning