envvars
Update environment variable
Changed onUpdate a specific environment variable for a specific project and environment.
put/api/v1/projects/{projectRef}/envvars/{env}/{name}
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
{
"value": "slack_123456"
}Response
Environment variable updated successfully
Changes
- info
the endpoint scheme security
secretKeywas added to the API - info
the endpoint scheme security
apiKeywas removed from the API
- info