envvars
Create environment variable
Changed onCreate a new environment variable for a specific project and environment.
post/api/v1/projects/{projectRef}/envvars/{env}
Request
- Base URLhttps://api.trigger.dev
- Auth
- HTTP bearer
- or HTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"name": "SLACK_API_KEY",
"value": "slack_123456"
}Response
Environment variable created successfully
Changes
- info
the endpoint scheme security
secretKeywas added to the API - info
the endpoint scheme security
apiKeywas removed from the API
- info