UsersApi - object-oriented interface

Export

Hierarchy

Implements

Constructors

Properties

axios: AxiosInstance = globalAxios
basePath: string = BASE_PATH
configuration: Configuration

Methods

  • List pending user account registrations. Returns up to 50 pending users in a call.

    Parameters

    • groupId: any

      An Atlas Project/Group ID.

    • appId: any

      The ObjectID of your application. The App Services API Project and Application IDs section demonstrates how to find this value.

    • Optional after: any

      The unique ``_id`` for a pending user. ``List pending users`` can return 50 pending users at a time. To view additional results, find the ``_id`` of the last pending user listed in the previous call to ``list pending users``. Call ``list pending users`` again, passing the ``_id`` to the after parameter.

    • Optional options: AxiosRequestConfig<any>

      Override http request option.

    Returns Promise<AxiosResponse<any, any>>

    Summary

    List pending users

    Throws

    Memberof

    UsersApi

  • List confirmed user accounts.

    Parameters

    • Optional after: any

      The `id` of the last user returned by a previous paginated request.

    • Optional sort: any

      The field name to sort results by. The only valid value is the default: `_id`.

    • Optional desc: any

      If `true`, returns sorted results in descending order. If not specified or set to `false`, results return in ascending order.

    • Optional options: AxiosRequestConfig<any>

      Override http request option.

    Returns Promise<AxiosResponse<any, any>>

    Summary

    List users

    Throws

    Memberof

    UsersApi

Generated using TypeDoc