Skip to content

my cli set-api-url

Terminal window
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.

FlagDefaultDescription
--resetfalseReset to the build default URL
Terminal window
# Set a custom API URL
my cli set-api-url https://api.example.com
# Reset to the default
my cli set-api-url --reset