Constructors

Properties

_actions: UsersActions

Methods

  • Info about the tenant accessing the endpoint

    Parameters

    • arg: {
          id: string;
      }
      • id: string

    Returns Promise<User[]>

  • Returns a list of users. Each element of the list is an instance of the User class

    Returns Promise<User[]>

  • Parameters

    • arg: {
          filter: string;
      }
      • filter: string

    Returns Promise<User[]>

  • Retrieves a list of users matching the filter using an advanced query string

    Parameters

    • arg: {
          filter: string;
          sort?: string;
      }
      • filter: string
      • Optional sort?: string

    Returns Promise<IUser[]>

  • Redirects to retrieve the user resource associated with the JWT claims

    Returns Promise<User>

  • Returns Promise<{
        valid_roles: string[];
    }>

    Deprecated

    Returns the metadata with regard to the user configuration.

    Use GET /v1/roles instead

    It will no longer be available after 01/11/2022. The role names can now be retrieved from the list roles endpoint.

  • Parameters

    • arg: {
          filter: string;
      }
      • filter: string

    Returns Promise<{
        id: string;
        status: number;
    }[]>