organizations

package
v0.0.0-...-f4ae709 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 15, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Admin

type Admin struct {
	Id        string `json:"id,omitempty"`
	Name      string `json:"name"`
	Email     string `json:"email"`
	OrgAccess string `json:"orgAccess"`
}

func GetOrganizationAdmins

func GetOrganizationAdmins(dashboard meraki.Dashboard, orgId string) ([]Admin, error)

type AdminResponse

type AdminResponse struct {
	Success      bool
	StatusCode   int
	ErrorMessage []string `json:"errors"`
	Admin        Admin
}

func CreateOrganizationAdmin

func CreateOrganizationAdmin(dashboard meraki.Dashboard, orgId string, admin Admin) (AdminResponse, error)

type DeleteAdminResponse

type DeleteAdminResponse struct {
	Success      bool
	StatusCode   int
	ErrorMessage []string `json:"errors"`
}

func DeleteOrganizationAdmin

func DeleteOrganizationAdmin(dashboard meraki.Dashboard, orgId string, adminID string) (DeleteAdminResponse, error)

type Organization

type Organization struct {
	Id        string
	Name      string
	Url       string
	Api       api
	Licensing licensing
}

func GetOrganizations

func GetOrganizations(dashboard meraki.Dashboard) ([]Organization, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL