HostingPlanAdd

With this function a new hosting plan can be created. The return value is the ID of the new data record. If a hosting plan with the same name already exists, a SOAP exception is triggered.

Request

Field

Type

RegExp

Null?

Description

auth

AuthData

no

Authentication data

name

string

^.{1,50}$

no

Name/title of the hosting plan

maxcustomers

integer

^-?\d{1,8}$

yes

Maximum number of customers for resellers (NULL: no reseller plan, -1: unlimited)

maxusers

integer

^-?\d{1,8}$

no

Maximum number of users (needs to be >= 1, or -1: unlimited)

webspace

integer

^-?\d{1,8}$

yes

Webspace (MB) (NULL: no webspace, -1: unlimited)

ssi

integer

^[01]$

yes

Server-Side Includes (SSI)

php

integer

^[0123]$

yes

PHP (0 = no, 1 = suPHP, 2 = FastCGI, 3 = mod_php, 4 = FPM)

cgi

integer

^[012]$

yes

CGI scripts allowed (0: no, 1: yes, in /cgi-bin/, 2: yes, in any directory)

ssl

integer

^[01]$

yes

SSL/TLS (HTTPS) (0: no, 1: yes)

cronjobs

integer

^-?\d{1,8}$

yes

Number of cron jobs (-1: unlimited)

apps

integer

^-?\d{1,8}$

yes

Number of installable apps (-1: unlimited)

ftpaccounts

integer

^-?\d{1,8}$

yes

Number of FTP accounts (-1: unlimited)

shellaccess

integer

^[012]$

yes

Shell access allowed? (0: no, 1: scponly/sftp, 2: yes (Bash))

databases

integer

^-?\d{1,8}$

yes

Number of databases (-1: unlimited)

subdomains

integer

^-?\d{1,8}$

yes

Number of subdomains (-1: unlimited)

extdomains

integer

^-?\d{1,8}$

yes

Number of external domains (NULL: none, -1: unlimited)

mailboxes

integer

^-?\d{1,8}$

yes

Number of mailboxes (-1: unlimited)

mailaddrs

integer

^-?\d{1,8}$

yes

Number of e-mail addresses (-1: unlimited)

mailquota

integer

^-?\d{1,8}$

yes

E-Mail space (total) (-1: unlimited)

traffic

integer

^-?\d{1,8}$

no

Allowed IP traffic (MB) (-1: unlimited)

Response

Field

Type

Null?

Description

id

string

no

data record ID

The data record ID is customer-specific encrypted.


Zuletzt aktualisiert am 29.06.2020.
weiter: HostingPlanGet
zurück: HostingPasswordUserAdd