Skip to content

Latest commit

 

History

History
executable file
·
44 lines (28 loc) · 1.36 KB

README.md

File metadata and controls

executable file
·
44 lines (28 loc) · 1.36 KB

accounts

Overview

Accounts

Available Operations

listUsers

Show current user accounts

Example Usage

import { Structure } from "structure-ac";
import { ListUsersResponse } from "structure-ac/dist/sdk/models/operations";

const sdk = new Structure({
  security: {
    bearerAuth: "",
  },
});

sdk.accounts.listUsers().then((res: ListUsersResponse) => {
  if (res.statusCode == 200) {
    // handle response
  }
});

Parameters

Parameter Type Required Description
config AxiosRequestConfig Available config options for making requests.

Response

Promise<operations.ListUsersResponse>