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 URL
    https://app.khotan.com
  • URL
    https://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.

appliedtrue required

Changes

No recorded changes to this operation across all 1 revision of this API.