Accounts
- listUsers - Show current user accounts
Show current user accounts
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
}
});
Parameter | Type | Required | Description |
---|---|---|---|
config |
AxiosRequestConfig | ➖ | Available config options for making requests. |
Promise<operations.ListUsersResponse>