Skip to content

basemodo domains remove

Stop the App answering at a custom domain, and forget its certificate.

Terminal window
basemodo domains remove [OPTIONS] <HOSTNAME>

Arguments

  • HOSTNAME (required): The hostname, as added.
  • --app <APP>: The App whose custom domains to change. Default: the one named after the current folder.

Like every command, it also takes the global options --json and --api-url.

Examples

Remove a custom domain:

Terminal window
basemodo domains remove app.example.com

Output

With --json, it prints {"app", "domains": [{"hostname", "url", "status", "records", "problem", "created_at", "verified_at", "certificate_expires_at"}]}.

From an agent

The local MCP serves it as the tool domains_remove. It changes things, so an agent's client may ask you before it runs. Its arguments are the command's, named as JSON keys: hostname (text), app (text). It answers what the command prints with --json.

Explained in