Users

Create User

Request

  • username
    optional string

Response

  • user
    object
    • user.id
      string
    • user.username
      string
    • user.createdAt
      date
    • user.updatedAt
      date

Usage

1. Install the module

2. Use this script

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