my cli set-api-url
my cli set-api-url [url]Sets the API URL in ~/.my/config.json. This is useful for pointing the CLI at a self-hosted API server.
| Flag | Default | Description |
|---|---|---|
--reset | false | Reset to the build default URL |
Examples
Section titled “Examples”# Set a custom API URLmy cli set-api-url https://api.example.com
# Reset to the defaultmy cli set-api-url --reset