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

Public

No

Request

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

Request

Object containing the following properties:

PropertyType
usernamestring

All properties are optional.

Response

Response

Object containing the following properties:

PropertyType
user (*)Object with properties:
  • id: string
  • username: string
  • createdAt: Date
  • updatedAt: Date

(*) Required.