Documentation ¶
Index ¶
- func Activate(service *services.Service, userID string) (*http.Response, error)
- func Deactivate(service *services.Service, userID string) (*http.Response, error)
- func Update(service *services.Service, userID string, emergencyAccess *EmergencyAccess) (*http.Response, error)
- type EmergencyAccess
- func Create(service *services.Service, emergencyAccess *EmergencyAccess) (*EmergencyAccess, *http.Response, error)
- func Get(service *services.Service, userID string) (*EmergencyAccess, *http.Response, error)
- func GetAll(service *services.Service) ([]EmergencyAccess, *http.Response, error)
- func GetAllEmergencyAccessUsers(service *services.Service, baseRelativeURL string, pageSize int, ...) ([]EmergencyAccess, *http.Response, error)
- func GetByEmailID(service *services.Service, emailID string) (*EmergencyAccess, *http.Response, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Activate ¶ added in v2.61.0
PUT - /mgmtconfig/v1/admin/customers/{customerId}/emergencyAccess/user/{userId}/activate
func Deactivate ¶ added in v2.61.0
PUT - /mgmtconfig/v1/admin/customers/{customerId}/emergencyAccess/user/{userId}/deactivate
Types ¶
type EmergencyAccess ¶
type EmergencyAccess struct { ActivatedOn string `json:"activatedOn,omitempty"` AllowedActivate bool `json:"allowedActivate"` AllowedDeactivate bool `json:"allowedDeactivate"` EmailID string `json:"emailId,omitempty"` FirstName string `json:"firstName,omitempty"` LastLoginTime string `json:"lastLoginTime,omitempty"` LastName string `json:"lastName,omitempty"` UpdateEnabled bool `json:"updateEnabled"` UserID string `json:"userId,omitempty"` UserStatus string `json:"userStatus,omitempty"` ActivateNow bool `json:"activateNow,omitempty" url:"activateNow,omitempty"` }
func Create ¶ added in v2.61.0
func Create(service *services.Service, emergencyAccess *EmergencyAccess) (*EmergencyAccess, *http.Response, error)
func GetByEmailID ¶ added in v2.61.0
Click to show internal directories.
Click to hide internal directories.