HostingSubscriptionEdit

With this function, the properties of an existing hosting subscription can be edited. Only the values that are transmitted with the SOAP request are changed.

If the processed subscription is not based on a reseller subscription and resources such as web space, e-mail or databases are added for the first time, you must also specify the name of the server for the respective services.

Request

Field

Type

RegExp

Null?

Description

auth

AuthData

no

Authentication data

subscriptionname

string

^[a-z][a-z0-9_-]{0,63}$

no

Subscription name

plan

string

^.{1,50}$

yes

Name of the hosting plan

maxusers

integer

^-?\d{1,8}$

yes

Possibly different number of users (-1: unlimited)

webspace

integer

^-?\d{1,8}$

yes

Possibly different webspace size (MB) (-1: unlimited)

ssi

integer

^[01]$

yes

Possibly different SSI setting (Server-Side Includes)

php

integer

^[01]$

yes

Possibly different PHP mode (0: no PHP, 1: suPHP, 2: FastCGI, 3: mod_php, 4: FPM)

cgi

integer

^[012]$

yes

Possibly different CGI setting

ssl

integer

^[012]$

yes

Possibly different SSL setting (HTTPS) (0: no, 1: yes, 2 yes (with certificate management)

cronjobs

integer

^-?\d{1,8}$

yes

Possibly different number of cron jobs (-1: unlimited)

apps

integer

^-?\d{1,8}$

yes

Possibly different number of installable web apps (-1: unlimited)

ftpaccounts

integer

^-?\d{1,8}$

yes

Possibly different number of FTP accounts (-1: unlimited)

shellaccess

integer

^[012]$

yes

Possibly different shell access (0: no, 1: scponly/sftp, 2: yes (bash))

databases

integer

^-?\d{1,8}$

yes

Possibly different number of databases (-1: unlimited)

dbserver

string

^[\w.-]{1,255}$

yes

Name of the database server for this subscription

subdomains

integer

^-?\d{1,8}$

yes

Possibly different number of subdomains (-1: unlimited)

extdomains

integer

^-?\d{1,8}$

yes

Possibly different number of external domains (-1: unlimited)

mailboxes

integer

^-?\d{1,8}$

yes

Possibly different number of mailboxes (-1: unlimited)

mailaddrs

integer

^-?\d{1,8}$

yes

Possibly different number of e-mail addresses (-1: unlimited)

mailquota

integer

^-?\d{1,8}$

yes

Possibly different mail storage size (-1: unlimited)

traffic

integer

^-?\d{1,8}$

yes

Possibly different IP traffic limit (-1: unlimited)

webstats

integer

^[012]$

yes

Possibly different web statistics setting (0: no stats, 1: Webalizer, 2: AWStats)

logfilter4

integer

^[0-4]$

yes

Possibly different IPv4 address filtering in access.log (number of bytes to be filtered; 0-4)

logfilter6

integer

^[0-9]|(1[0-6])$

yes

Possibly different IPv6 address filtering in access.log (number of bytes to be filtered; 0-16)

comment

string

^.{1,100}$

yes

Optional comment

locked

integer

^[0-7]$

yes

Locked/suspended services (bit mask: 0: no services suspended, 1: web space, 2: e-mail, 4: FTP)

locktype

integer

^[12]$

yes

Lock-Type (1: locked, 2: suspended)

phpini

PhpIniSetting[]

yes

Possibly different php.ini settings

php.ini settings (PhpIniSetting)

Field

Type

Null?

Description

option

string

no

Name of php.ini setting

value

string

no

Configured value

Response

Field

Type

Null?

Description

status

string

no

Status (“ok”)


Last updated on Oct 21, 2020.
next: HostingSubscriptionGet
previous: HostingSubscriptionDelete