# README
Authentication Groups
Compatible with Logz.io's Authentication Groups API.
This is an example to a request that creates a new authentication group:
client, _ := authentication_groups.New(apiToken, apiServerAddress)
groups, err := client.PostAuthenticationGroups(
[]authentication_groups.AuthenticationGroup{
{
Group: "test_group_admin",
UserRole: authentication_groups.AuthGroupsUserRoleAdmin,
}})
function | func name |
---|---|
post request to create, update or delete user groups | func (c *AuthenticationGroupsClient) PostAuthenticationGroups(groups []AuthenticationGroup) ([]AuthenticationGroup, error) |
get authentication groups | func (c *AuthenticationGroupsClient) GetAuthenticationGroups() ([]AuthenticationGroup, error) |
# Functions
New Creates a new entry point into the authentication groups functions, accepts the user's logz.io API token and base url.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
No description provided by the author
No description provided by the author