HostingPasswordUserAdd

With this function, a new user (with password) can be created for webspace password protection. The login is case-sensitive (Test is therefore a different user than test).

If the password starts with $1$ and is 34 characters long, it is interpreted as a salted MD5 hash - in all other cases it is interpreted as a plain text password and automatically converted into a hash.

Request

Field

Type

RegExp

Null?

Description

auth

AuthData

no

Authentication data

subscription

string

^.{1,64}$

no

Subscription name

login

string

^.{1,40}$

no

User name

password

string

^.{1,64}$

no

Password

Response

Field

Type

Null?

Description

status

string

no

Status (“ok”)


Last updated on Apr 30, 2020.
next: HostingPlanAdd
previous: HostingPasswordPathAdd