All URIs are relative to https://<sub_domain>.api.kandji.io
Method | HTTP request | Description |
---|---|---|
Licensing | Get /api/v1/settings/licensing | Licensing |
map[string]interface{} Licensing(ctx).Execute()
Licensing
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/MScottBlake/kandji-go-sdk"
)
func main() {
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.SettingsAPI.Licensing(context.Background()).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `SettingsAPI.Licensing``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `Licensing`: map[string]interface{}
fmt.Fprintf(os.Stdout, "Response from `SettingsAPI.Licensing`: %v\n", resp)
}
This endpoint does not need any parameter.
Other parameters are passed through a pointer to a apiLicensingRequest struct via the builder pattern
map[string]interface{}
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]