Skip to main content

auth.init

If the Porla instance requires setup (i.e no users in the database) then this method can be used to create the initial user.

Calling this method returns an error if there are users in the database.

Request

{
"username": "root",
"password": "hunter2"
}

Response

{
}

Errors

CodeReason
-1Auth already initialized.