api_keys

package
v2.61.0 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ProvisioningAPIKeys

type ProvisioningAPIKeys struct {
	// ID of the API key. This is used to regenerate the API key
	ID int `json:"id,omitempty"`

	// API key value (12 alphanumeric characters in length)
	KeyValue string `json:"keyValue,omitempty"`

	// List of functional areas to which this API key applies. This attribute is subject to change
	Permissions []string `json:"permissions,omitempty"`

	// Indicates whether API key is enabled
	Enabled bool `json:"enabled,omitempty"`

	// Last time API key was modified
	LastModifiedTime int `json:"lastModifiedTime,omitempty"`

	// Last user to modify API key
	LastModifiedBy *common.IDNameExtensions `json:"lastModifiedBy,omitempty"`

	// Not applicable to Cloud & Branch Connector
	PartnerUrl string `json:"partnerUrl,omitempty"`
}

func Create added in v2.61.0

func Create(service *services.Service, apiKeyValue *ProvisioningAPIKeys, includePartnerKey bool, keyId *int) (*ProvisioningAPIKeys, error)

func Get added in v2.61.0

func Get(service *services.Service, apiKeyID int) (*ProvisioningAPIKeys, error)

func GetAll added in v2.61.0

func GetAll(service *services.Service) ([]ProvisioningAPIKeys, error)

func GetPartnerAPIKey added in v2.61.0

func GetPartnerAPIKey(service *services.Service, apiKeyValue string, includePartnerKey bool) (*ProvisioningAPIKeys, error)

Jump to

Keyboard shortcuts

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