Ir al contenido

Remove a variable by name

DELETE/api/v1/deploy/services/{id}/env/{name}

Necesita una clave de API en la cabecera Authorization.

En esta página

Parámetros

CampoEnTipoDescripción
idobligatoriorutastring
A service id, or project/service, or project/environment/service
nameobligatoriorutastring
  • patrón: ^[A-Za-z_][A-Za-z0-9_]*$
  • long. máx.: 256
formatconsultastring
text answers in plain text instead of JSON
  • uno de: json, text
redeployconsultastring
  • uno de: 1, true, 0, false

Petición de ejemplo

curl -X DELETE "https://polaris.example.com/api/v1/deploy/services/{id}/env/{name}" \
  -H "Authorization: Bearer $POLARIS_API_KEY"

Respuestas

EstadoQué es
200OK

También puede dar los errores comunes 400, 401, 403, 404, 429. Ver errores comunes