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-14Lines changed: 7 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -242,16 +242,14 @@ 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
251
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.
252
+
on Pro plans and above.
255
253
parameters:
256
254
- in: body
257
255
name: env_vars
@@ -380,16 +378,14 @@ paths:
380
378
default:
381
379
$ref: '#/responses/error'
382
380
description: >-
383
-
Returns an individual environment variable. To use this endpoint, your site
384
-
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.
381
+
Returns an individual environment variable.
385
382
put:
386
383
tags:
387
384
- environmentVariables
388
385
operationId: updateEnvVar
389
386
description: >-
390
387
Updates an existing environment variable and all of its values.
391
-
Existing values will be replaced by values provided. To use this endpoint, your site must
392
-
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.
388
+
Existing values will be replaced by values provided.
393
389
parameters:
394
390
- name: account_id
395
391
description: Scope response to account_id
@@ -449,8 +445,7 @@ paths:
449
445
- environmentVariables
450
446
operationId: setEnvVarValue
451
447
description: >-
452
-
Updates or creates a new value for an existing environment variable. To use this endpoint, your site
453
-
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.
448
+
Updates or creates a new value for an existing environment variable.
454
449
parameters:
455
450
- name: account_id
456
451
description: Scope response to account_id
@@ -521,8 +516,7 @@ paths:
521
516
default:
522
517
$ref: '#/responses/error'
523
518
description: >-
524
-
Deletes an environment variable. To use this endpoint, your site must no
525
-
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.
519
+
Deletes an environment variable
526
520
/accounts/{account_id}/env/{key}/value/{id}:
527
521
delete:
528
522
tags:
@@ -557,8 +551,7 @@ paths:
557
551
default:
558
552
$ref: '#/responses/error'
559
553
description: >-
560
-
Deletes a specific environment variable value. To use this endpoint, your site
561
-
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