usersroles

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Users & Role

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

func NewClient

func NewClient(opts ...option.RequestOption) *Client

func (*Client) AddUser

Invite users or SSO groups to an Organization

func (*Client) CreateRole

func (c *Client) CreateRole(
	ctx context.Context,
	org string,
	request *sgsdkgo.Role,
	opts ...option.RequestOption,
) (*sgsdkgo.RoleCreateUpdateResponse, error)

Create Role inside an Organization

func (*Client) DeleteRole

func (c *Client) DeleteRole(
	ctx context.Context,
	org string,
	role string,
	opts ...option.RequestOption,
) error

Delete Role

func (*Client) GetUser

Get users or SSO group of an Organization

func (*Client) ListAllRoles

func (c *Client) ListAllRoles(
	ctx context.Context,
	org string,
	opts ...option.RequestOption,
) error

List all Roles

func (*Client) ReadRole

func (c *Client) ReadRole(
	ctx context.Context,
	org string,
	role string,
	opts ...option.RequestOption,
) (*sgsdkgo.RoleGetResponse, error)

Read Role

func (*Client) RemoveUser

Remove users or SSO groups from an Organization

func (*Client) UpdateRole

func (c *Client) UpdateRole(
	ctx context.Context,
	org string,
	role string,
	request *sgsdkgo.PatchedRole,
	opts ...option.RequestOption,
) (*sgsdkgo.RoleCreateUpdateResponse, error)

Update Role

func (*Client) UpdateUser

Update users or SSO group of an Organization

Jump to

Keyboard shortcuts

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