Update api url for example commands to call the endpoints.