Update Domain Settings
update_domainChange a custom domain's proxy origin scheme to control whether the edge reaches your Cube over HTTP or HTTPS, matching how the Cube terminates TLS.
Instructions
Change a custom domain's proxy settings. Currently exposes the origin scheme — the transport the edge uses to reach the Cube.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cubeId | Yes | The Cube id to operate on. | |
| spaceId | No | Krova Cloud Space id. Optional if KROVA_SPACE_ID is set as the server default. | |
| mappingId | Yes | The domain mapping id (see list_domains). | |
| originScheme | Yes | Scheme the edge speaks to the Cube on. "http" (default) is cleartext. Use "https" only when the Cube terminates TLS itself — a control panel holding its own certificate, or an app listening on HTTPS — because such an app answers plain HTTP with a redirect and cannot be reached over cleartext. Visitors are on HTTPS either way. The dial port is derived: https on the default port 80 connects on 443. Verified against the Cube before it is applied; if the domain does not serve, the route is left on http. |