You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: swagger.yml
+7-15Lines changed: 7 additions & 15 deletions
Original file line number
Diff line number
Diff line change
@@ -242,16 +242,13 @@ paths:
242
242
$ref: '#/responses/error'
243
243
description: >-
244
244
Returns all environment variables for an account or site. An
245
-
account corresponds to a team in the Netlify UI. To use this endpoint, your
246
-
site must no longer be using the <a href="https://docs.netlify.com/environment-variables/classic-experience/">classic environment variables experience</a>. Migrate now with the Netlify UI.
245
+
account corresponds to a team in the Netlify UI.
247
246
post:
248
247
tags:
249
248
- environmentVariables
250
249
operationId: createEnvVars
251
250
description: >-
252
-
Creates new environment variables. Granular scopes are available
253
-
on Pro plans and above. To use this endpoint, your site must no longer be
254
-
using the <a href="https://docs.netlify.com/environment-variables/classic-experience/">classic environment variables experience</a>. Migrate now with the Netlify UI.
251
+
Creates new environment variables. Granular scopes are available on Pro plans and above.
255
252
parameters:
256
253
- in: body
257
254
name: env_vars
@@ -332,16 +329,14 @@ paths:
332
329
default:
333
330
$ref: '#/responses/error'
334
331
description: >-
335
-
Returns an individual environment variable. To use this endpoint, your site
336
-
must no longer be using the <a href="https://docs.netlify.com/environment-variables/classic-experience/">classic environment variables experience</a>. Migrate now with the Netlify UI.
332
+
Returns an individual environment variable.
337
333
put:
338
334
tags:
339
335
- environmentVariables
340
336
operationId: updateEnvVar
341
337
description: >-
342
338
Updates an existing environment variable and all of its values.
343
-
Existing values will be replaced by values provided. To use this endpoint, your site must
344
-
no longer be using the <a href="https://docs.netlify.com/environment-variables/classic-experience/">classic environment variables experience</a>. Migrate now with the Netlify UI.
339
+
Existing values will be replaced by values provided.
345
340
parameters:
346
341
- name: account_id
347
342
description: Scope response to account_id
@@ -395,8 +390,7 @@ paths:
395
390
- environmentVariables
396
391
operationId: setEnvVarValue
397
392
description: >-
398
-
Updates or creates a new value for an existing environment variable. To use this endpoint, your site
399
-
must no longer be using the <a href="https://docs.netlify.com/environment-variables/classic-experience/">classic environment variables experience</a>. Migrate now with the Netlify UI.
393
+
Updates or creates a new value for an existing environment variable.
400
394
parameters:
401
395
- name: account_id
402
396
description: Scope response to account_id
@@ -467,8 +461,7 @@ paths:
467
461
default:
468
462
$ref: '#/responses/error'
469
463
description: >-
470
-
Deletes an environment variable. To use this endpoint, your site must no
471
-
longer be using the <a href="https://docs.netlify.com/environment-variables/classic-experience/">classic environment variables experience</a>. Migrate now with the Netlify UI.
464
+
Deletes an environment variable.
472
465
/accounts/{account_id}/env/{key}/value/{id}:
473
466
delete:
474
467
tags:
@@ -503,8 +496,7 @@ paths:
503
496
default:
504
497
$ref: '#/responses/error'
505
498
description: >-
506
-
Deletes a specific environment variable value. To use this endpoint, your site
507
-
must no longer be using the <a href="https://docs.netlify.com/environment-variables/classic-experience/">classic environment variables experience</a>. Migrate now with the Netlify UI.
0 commit comments