masto
    Preparing search index...

    Interface CreateAccountParams

    interface CreateAccountParams {
        agreement: boolean;
        dateOfBirth?: string;
        email: string;
        locale: string;
        password: string;
        reason?: string;
        timeZone?: string;
        username: string;
    }
    Index

    Properties

    agreement: boolean

    Whether the user agrees to the local rules, terms, and policies. These should be presented to the user in order to allow them to consent before setting this parameter to TRUE.

    dateOfBirth?: string

    String (Date), required if the server has a minimum age requirement.

    email: string

    The email address to be used for login

    locale: string

    The language of the confirmation email that will be sent

    password: string

    The password to be used for login

    reason?: string

    Text that will be reviewed by moderators if registrations require manual approval.

    timeZone?: string
    username: string

    The desired username for the account