Pipelines
Delete an environment variable
Removes one environment variable's value from the given environment (pass ?target=production|preview|development; omit to remove from all). Deleting a value that does not exist succeeds. Changes apply on the next run; trigger a redeploy to start one.
delete/api/v1/pipelines/{pipelineId}/env/{key}
Request
- Base URLhttps://app.khotan.com
- URLhttps://app.khotan.com/api/v1/pipelines/{pipelineId}/env/{key}
- Auth
- HTTP bearer
- or API key in header x-api-key
Path parameters
pipelineIdstring required
keystring required
Query parameters
target'production' | 'preview' | 'development'
Response
The variable was removed.
Changes
No recorded changes to this operation across all 1 revision of this API.