Skip to content

Latest commit

 

History

History
70 lines (43 loc) · 1.48 KB

SettingsAPI.md

File metadata and controls

70 lines (43 loc) · 1.48 KB

\SettingsAPI

All URIs are relative to https://<sub_domain>.api.kandji.io

Method HTTP request Description
Licensing Get /api/v1/settings/licensing Licensing

Licensing

map[string]interface{} Licensing(ctx).Execute()

Licensing

Example

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)
}

Path Parameters

This endpoint does not need any parameter.

Other Parameters

Other parameters are passed through a pointer to a apiLicensingRequest struct via the builder pattern

Return type

map[string]interface{}

Authorization

bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]