Skip to content

Commit efac6d9

Browse files
committed
chore(docs): sync management API documentation
1 parent 701c5f6 commit efac6d9

2 files changed

Lines changed: 54 additions & 0 deletions

File tree

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
---
2+
title: Update an environment variable's value
3+
description: 'Experimental endpoint: this API is in active development and may change at any time without notice. Replaces the value of an existing environment variable. Only the value is mutable — the project, environment, key, and branch are fixed at create-time.'
4+
full: true
5+
_openapi:
6+
method: PATCH
7+
toc: []
8+
structuredData:
9+
headings: []
10+
contents:
11+
- content: |-
12+
⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️
13+
14+
Replaces the value of an existing environment variable. Only the value is mutable — the project, environment, key, and branch are fixed at create-time.
15+
path: '/v1/environment-variables/{envVarId}'
16+
url: '/management-api/endpoints/[experimental]/patch-environment-variables-by-env-var-id'
17+
metaTitle: 'PATCH /v1/environment-variables/{envVarId} | Update an environment variable''s value'
18+
metaDescription: 'Management API: Experimental endpoint: this API is in active development and may change at any time without notice. Replaces the value of an existing environment variable. Only the value is mutable — the project, environment, key, and branch are fixed at create-time.'
19+
---
20+
21+
{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */}
22+
23+
⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️
24+
25+
Replaces the value of an existing environment variable. Only the value is mutable — the project, environment, key, and branch are fixed at create-time.
26+
27+
<APIPage document={"management-api"} operations={[{"path":"/v1/environment-variables/{envVarId}","method":"patch"}]} />
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
---
2+
title: Create an environment variable
3+
description: 'Experimental endpoint: this API is in active development and may change at any time without notice. Creates a new environment variable in a project''s `production` or `preview` environment. Returns 409 if a variable with the same key already exists in that environment — use PATCH to replace its value. Values are stored encrypted and are not returned by subsequent reads.'
4+
full: true
5+
_openapi:
6+
method: POST
7+
toc: []
8+
structuredData:
9+
headings: []
10+
contents:
11+
- content: |-
12+
⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️
13+
14+
Creates a new environment variable in a project's `production` or `preview` environment. Returns 409 if a variable with the same key already exists in that environment — use PATCH to replace its value. Values are stored encrypted and are not returned by subsequent reads.
15+
path: /v1/environment-variables
16+
url: '/management-api/endpoints/[experimental]/post-environment-variables'
17+
metaTitle: POST /v1/environment-variables | Create an environment variable
18+
metaDescription: 'Management API: Experimental endpoint: this API is in active development and may change at any time without notice. Creates a new environment variable in a project''s `production` or `preview` environment. Returns 409 if a variable with the same key already exists in that environment — use PATCH to replace its value. Values are stored encrypted and are not returned by subsequent reads.'
19+
---
20+
21+
{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */}
22+
23+
⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️
24+
25+
Creates a new environment variable in a project's `production` or `preview` environment. Returns 409 if a variable with the same key already exists in that environment — use PATCH to replace its value. Values are stored encrypted and are not returned by subsequent reads.
26+
27+
<APIPage document={"management-api"} operations={[{"path":"/v1/environment-variables","method":"post"}]} />

0 commit comments

Comments
 (0)