Skip to content

Latest commit

 

History

History
executable file
·
55 lines (37 loc) · 1.32 KB

README.md

File metadata and controls

executable file
·
55 lines (37 loc) · 1.32 KB

Accounts

Overview

Accounts

Available Operations

ListUsers

Show current user accounts

Example Usage

package main

import(
	"context"
	"log"
	"Structure"
)

func main() {
    s := sdk.New(
        sdk.WithSecurity(shared.Security{
            BearerAuth: "",
        }),
    )

    ctx := context.Background()
    res, err := s.Accounts.ListUsers(ctx)
    if err != nil {
        log.Fatal(err)
    }

    if res.Body != nil {
        // handle response
    }
}

Parameters

Parameter Type Required Description
ctx context.Context ✔️ The context to use for the request.

Response

*operations.ListUsersResponse, error