diff --git a/examples/administered/main.go b/examples/administered/main.go index 3d39b5443..bd9b0c1bc 100644 --- a/examples/administered/main.go +++ b/examples/administered/main.go @@ -12,9 +12,7 @@ var client *meraki.Client func main() { var err error fmt.Println("Authenticating") - client, err = meraki.NewClientWithOptions("https://api.meraki.com/", - "12f2eb53588c75e28d89e108a05ea0c2487b08cf", - "true", "AplicationName VendorName") + client, err = meraki.NewClient() if err != nil { fmt.Println(err) return diff --git a/examples/networks/main.go b/examples/networks/main.go index 7ed013fa6..842e27269 100644 --- a/examples/networks/main.go +++ b/examples/networks/main.go @@ -11,9 +11,7 @@ var client *meraki.Client func main() { var err error fmt.Println("Authenticating") - client, err = meraki.NewClientWithOptions("https://api.meraki.com/", - "12f2eb53588c75e28d89e108a05ea0c2487b08cf", - "true", "AplicationName VendorName") + client, err = meraki.NewClient() if err != nil { fmt.Println(err) return diff --git a/examples/organizations/main.go b/examples/organizations/main.go index 5c3b5a6af..fb54e0cb5 100644 --- a/examples/organizations/main.go +++ b/examples/organizations/main.go @@ -11,9 +11,7 @@ var client *meraki.Client func main() { var err error fmt.Println("Authenticating") - client, err = meraki.NewClientWithOptions("https://api.meraki.com/", - "12f2eb53588c75e28d89e108a05ea0c2487b08cf", - "true", "AplicationName VendorName") + client, err = meraki.NewClient() if err != nil { fmt.Println(err) return diff --git a/examples/testPagination/main.go b/examples/testPagination/main.go index a82e4c201..69c8b5df2 100644 --- a/examples/testPagination/main.go +++ b/examples/testPagination/main.go @@ -20,9 +20,7 @@ func simpleCmp(a, b interface{}) bool { func main() { var err error fmt.Println("Authenticating") - client, err = meraki.NewClientWithOptions("https://api.meraki.com/", - "12f2eb53588c75e28d89e108a05ea0c2487b08cf", - "true", "AplicationName VendorName") + client, err = meraki.NewClient() if err != nil { fmt.Println(err) return