PATCH
/team/envs/{env_id}Update a team shared environment variable
Updates a team shared environment variable by its ID. Use env_id to identify the variable to update.
- IdempotentThe SDK sends
Idempotency-Key, so a retried request is only applied once.
env_idintegerrequired
The integer ID of the team shared environment variable to update.
200Returns confirmation that the environment variable was updated.
401Returned when the request is unauthenticated.
messagestringoptional
404Returned when the environment variable is not found.
messagestringoptional
422Returned when request validation fails.
errorsobjectoptional
messagestringoptional
Error handling
A 401 indicates that the request is unauthenticated, a 404 indicates that the environment variable was not found, and a 422 indicates validation failed. The env_id path parameter is the integer ID of the team shared environment variable.