UsersApi - interface

Export

UsersApi

Hierarchy

  • UsersApiInterface

Implemented by

Methods

  • Create a new email/password user account. Note: You cannot create user accounts through the Admin API for any authentication provider other than email/password.

    Parameters

    Returns AxiosPromise<User>

    Summary

    Create a user

    Throws

    Memberof

    UsersApiInterface

  • Delete a pending user.

    Parameters

    Returns AxiosPromise<void>

    Summary

    Delete a pending email/password authentication user

    Throws

    Memberof

    UsersApiInterface

  • Delete a specific user account by ID.

    Parameters

    Returns AxiosPromise<void>

    Summary

    Delete a user

    Throws

    Memberof

    UsersApiInterface

  • Disable a user.

    Parameters

    Returns AxiosPromise<void>

    Summary

    Disable a user

    Throws

    Memberof

    UsersApiInterface

  • Enable a user.

    Parameters

    Returns AxiosPromise<void>

    Summary

    Enable a user

    Throws

    Memberof

    UsersApiInterface

  • Parameters

    Returns AxiosPromise<any>

    Summary

    List a user's devices

    Throws

    Memberof

    UsersApiInterface

  • 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 AxiosPromise<any>

    Summary

    List pending users

    Throws

    Memberof

    UsersApiInterface

  • 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 AxiosPromise<any>

    Summary

    List users

    Throws

    Memberof

    UsersApiInterface

  • Revoke all of a user's sessions.

    Parameters

    Returns AxiosPromise<void>

    Summary

    Revoke user sessions

    Throws

    Memberof

    UsersApiInterface

  • Verify a that a user's client access token is valid.

    Parameters

    Returns AxiosPromise<any>

    Summary

    Verify & decode an access token

    Throws

    Memberof

    UsersApiInterface

Generated using TypeDoc