Zur Navigation springen

Umgebungsvariable aktualisieren

Ersetzt die Werte einer Umgebungsvariable. Verwenden Sie null, um ihren Wert für eine Umgebung zu entfernen (außer production); löschen Sie eine Umgebung mit DELETE /v1/convai/environments/{environment}.

Pfadparameter

env_var_idstringErforderlich

Header

xi-api-keystringOptional

Anfrage

This endpoint expects an object.
valuesmap from strings to optional strings or objectsErforderlich

Zu ersetzende Werte. Setzen Sie auf null, um den Wert für eine Umgebung zu entfernen (außer ‘production’).

Antwort

Erfolgreiche Antwort
labelstring
created_at_unix_secsinteger
updated_at_unix_secsinteger
typeenum
Erlaubte Werte:
idstring
workspace_idstring
valuesmap from strings to strings or map from strings to objects
created_by_user_idstringOptional

Fehler

400
Environment Variables Update Request Bad Request Error
404
Environment Variables Update Request Not Found Error
422
Environment Variables Update Request Unprocessable Entity Error