POST /v1/env
Creates shared environment variable(s) for a team.
Servers
- https://api.vercel.com
Request headers
| Name | Type | Required | Description |
|---|---|---|---|
Content-Type |
String | Yes |
The media type of the request body.
Default value: "application/json" |
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
teamId |
String | No |
The Team identifier to perform the request on behalf of. |
slug |
String | No |
The Team slug to perform the request on behalf of. |
Request body fields
| Name | Type | Required | Description |
|---|---|---|---|
projectId[] |
Array | No |
Associate a Shared Environment Variable to projects. |
evs[] |
Array | Yes | |
evs[].comment |
String | No |
A comment to add context on what this Shared Environment Variable is for |
evs[].key |
String | Yes |
The name of the Shared Environment Variable |
evs[].value |
String | Yes |
The value of the Shared Environment Variable |
target[] |
Array | No |
The target environment of the Shared Environment Variable |
type |
String | No |
The type of environment variable Valid values:
|
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.