Skip to content

Commit 8a690e1

Browse files
author
Jason Barry
committed
fix(docs): remove mention of migrating from classic env vars experience
1 parent b4874b5 commit 8a690e1

File tree

1 file changed

+7
-15
lines changed

1 file changed

+7
-15
lines changed

swagger.yml

Lines changed: 7 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -242,16 +242,13 @@ paths:
242242
$ref: '#/responses/error'
243243
description: >-
244244
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.
247246
post:
248247
tags:
249248
- environmentVariables
250249
operationId: createEnvVars
251250
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.
255252
parameters:
256253
- in: body
257254
name: env_vars
@@ -332,16 +329,14 @@ paths:
332329
default:
333330
$ref: '#/responses/error'
334331
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.
337333
put:
338334
tags:
339335
- environmentVariables
340336
operationId: updateEnvVar
341337
description: >-
342338
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.
345340
parameters:
346341
- name: account_id
347342
description: Scope response to account_id
@@ -395,8 +390,7 @@ paths:
395390
- environmentVariables
396391
operationId: setEnvVarValue
397392
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.
400394
parameters:
401395
- name: account_id
402396
description: Scope response to account_id
@@ -467,8 +461,7 @@ paths:
467461
default:
468462
$ref: '#/responses/error'
469463
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.
472465
/accounts/{account_id}/env/{key}/value/{id}:
473466
delete:
474467
tags:
@@ -503,8 +496,7 @@ paths:
503496
default:
504497
$ref: '#/responses/error'
505498
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.
499+
Deletes a specific environment variable value.
508500
/sites/{site_id}/forms:
509501
get:
510502
operationId: listSiteForms

0 commit comments

Comments
 (0)