Environment
Delete a variable: every value of the name, or only its value in one environment (and branch), or one entry by id
delete/projects/{projectId}/env/{key}
Request
- Base URL: https://hostingsurge.com/api/v1
- URL: https://hostingsurge.com/api/v1/projects/{projectId}/env/{key}
- Auth: one of:
- HTTP bearer
- API key in cookie __Host-hs_session
Path parameters
projectIdstring uuid required
Example:3f2b8a4e-5c1d-4e8f-9a7b-2c6d1e0f4a5b
keystring required
Query parameters
environment'production' | 'preview' | 'development'
Remove the value in this environment only; other environments keep theirs
gitBranchstring
Remove this branch's own preview value only
idstring
Remove this one entry (from GET …/env)
Response
Deleted
Changes
No recorded changes to this operation across all 1 revision of this API.