This interface defines the structure of the request body used when creating a new User.
export interface CreateUserRequest {
    email: string;
    username?: string;
    first_name?: string;
    last_name?: string;
    password?: string;
}

Properties

  • email (string): The email address of the user.
  • username (string, optional): The username of the user.
  • first_name (string, optional): The first name of the user.
  • last_name (string, optional): The last name of the user.
  • password (string, optional): The password for the user.