const data = await ctx.modules.users.fetchByUsername({
  // Request body
});

Public

No

Request

const data = await ctx.modules.users.fetchByUsername({
  // Request body
});

Request

Object containing the following properties:
PropertyType
usernames (*)Array<string>
(*) Required.

Response

Response

Object containing the following properties:
PropertyType
users (*)Array of objects:
  • id: string
  • username: string
  • createdAt: Date
  • updatedAt: Date
(*) Required.