Skip to main content
PATCH
Update Stack Connection
Replaces the whole env_map of a connection. Needs the stacks:write scope when called with an API key.
string
required
The stack ID.
string
required
The connection ID.
string
The workspace the stack belongs to, when you act on it as the workspace owner.
object
required
Variable name to what it receives. The allowed values are listed in Create Stack Connection.

Response

The connection with restart_required and apps_to_restart. Restart the listed applications to make them read the new names.

Errors

Last modified on October 28, 2026