Update environment variable

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

路径参数

env_var_idstring必需

请求头

xi-api-keystring可选

请求

This endpoint expects an object.
valuesmap from strings to optional strings or objects必需

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

响应

Successful Response
labelstring
created_at_unix_secsinteger
updated_at_unix_secsinteger
typeenum
允许的值:
idstring
workspace_idstring
valuesmap from strings to strings or map from strings to objects
created_by_user_idstring可选

错误

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