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 = {
1282
1282
*/
1283
1283
port ?: number
1284
1284
/**
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
+ ```.
1286
1297
*/
1287
1298
secretEnvironmentVariables ?: Secret [ ]
1288
1299
/**
Original file line number Diff line number Diff line change @@ -1281,7 +1281,18 @@ export type UpdateFunctionRequest = {
1281
1281
*/
1282
1282
description ?: string
1283
1283
/**
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
+ ```.
1285
1296
*/
1286
1297
secretEnvironmentVariables ?: Secret [ ]
1287
1298
/**
You can’t perform that action at this time.
0 commit comments