Zuplo CLI

Zuplo CLI: Custom Domain Update

Applies to
Gatewayruntime for API, AI, and MCP gateways
Hosting
Managed EdgeManaged DedicatedDiffersSelf-HostedDiffers
2 differences by hosting option
Managed Dedicated

Custom domains depend on your instance's configuration, and Zuplo usually configures them for you. See Managed Dedicated: Custom Domains.

Self-Hosted

Custom domains depend on your cluster's configuration, because you manage DNS and certificates. See Self-Hosted requirements.

Updates the deployment assignment for a custom domain
Code
zuplo custom-domain update --hostname <hostname> [options]

Examples

Reassign a custom domain to a deployment

Code
zuplo custom-domain update \ --hostname api.example.com \ --deployment-name production-deployment

Update a custom domain and output the result as JSON

Code
zuplo custom-domain update --hostname api.example.com --output json

Detach the current deployment assignment while preserving the stage

Code
zuplo custom-domain update --hostname api.example.com

Update a custom domain on a specific account

Code
zuplo custom-domain update \ --hostname docs.example.com \ --deployment-name portal-deployment \ --account my-account

Options

--hostname

The hostname for the custom domain

Type: string

--deployment-name

The deployment name to assign the custom domain to. Omit to detach the current assignment.

Type: string

--account

The account name

Type: string

--output

Output format

Type: stringDefault: "default"Choices: default, jsonAlias: -o

Global options

The following global options are available for all commands:

Last modified on