File tree Expand file tree Collapse file tree 2 files changed +24
-2
lines changed Expand file tree Collapse file tree 2 files changed +24
-2
lines changed Original file line number Diff line number Diff line change @@ -1282,7 +1282,18 @@ export type UpdateContainerRequest = {
12821282 */
12831283 port ?: number
12841284 /**
1285- * Secret environment variables of the container.
1285+ * During an update, secret environment variables that are not specified in this field will be kept unchanged.
1286+
1287+ In order to delete a specific secret environment variable, you must reference its key, but not provide any value for it.
1288+ For example, the following payload will delete the `TO_DELETE` secret environment variable:
1289+
1290+ ```json
1291+ {
1292+ "secret_environment_variables":[
1293+ {"key":"TO_DELETE"}
1294+ ]
1295+ }
1296+ ```.
12861297 */
12871298 secretEnvironmentVariables ?: Secret [ ]
12881299 /**
Original file line number Diff line number Diff line change @@ -1281,7 +1281,18 @@ export type UpdateFunctionRequest = {
12811281 */
12821282 description ?: string
12831283 /**
1284- * Secret environment variables of the function.
1284+ * During an update, secret environment variables that are not specified in this field will be kept unchanged.
1285+
1286+ In order to delete a specific secret environment variable, you must reference its key, but not provide any value for it.
1287+ For example, the following payload will delete the `TO_DELETE` secret environment variable:
1288+
1289+ ```json
1290+ {
1291+ "secret_environment_variables":[
1292+ {"key":"TO_DELETE"}
1293+ ]
1294+ }
1295+ ```.
12851296 */
12861297 secretEnvironmentVariables ?: Secret [ ]
12871298 /**
You can’t perform that action at this time.
0 commit comments