Remove a variable by name
DELETE
/api/v1/deploy/services/{id}/env/{name}On this page
Parameters
| Field | In | Type | Description |
|---|---|---|---|
idrequired | path | string | A service id, or project/service, or project/environment/service |
namerequired | path | string |
|
format | query | string | text answers in plain text instead of JSON
|
redeploy | query | string |
|
Example request
curl -X DELETE "https://polaris.example.com/api/v1/deploy/services/{id}/env/{name}" \
-H "Authorization: Bearer $POLARIS_API_KEY"Responses
| Status | Meaning |
|---|---|
200 | OK |
Can also answer the common errors 400, 401, 403, 404, 429. See common errors