environment_link_update
Rename the variable a link sets.
| Access | Changes Blossom |
| Same as | blossom environment_link:update |
Arguments
| Argument | Type | Description |
|---|---|---|
id |
string | Environment link id. Required. |
data |
object | Only the link fields to change. Required. |
data.var_name |
string | Variable that gets the connection URL, such as DATABASE_URL. |
Example
{"id":"environment_link-100","data":{"clone_url":"https://github.com/acme/shop","services":[{"name":"web","command":"web","port":3000,"publicly_exposed":true}]}}