Update environment variable

Replace an environment variable’s values. Use null to remove an environment (except production).

Parametry ścieżki

env_var_idstringWymagany

Nagłówki

xi-api-keystringOpcjonalny

Żądanie

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

Values to replace. Set to null to remove an environment (except ‘production’).

Odpowiedź

Successful Response
labelstring
created_at_unix_secsinteger
updated_at_unix_secsinteger
typeenum
Dozwolone wartości:
idstring
workspace_idstring
valuesmap from strings to strings or map from strings to objects
created_by_user_idstringOpcjonalny

Błędy

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