爱旅游的柠檬 · 'next' is not ...· 2 天前 · |
坚韧的熊猫 · self.UserModel._defaul ...· 1 周前 · |
健身的脸盆 · #19067 ...· 1 周前 · |
博学的上铺 · (400) Bad ...· 1 周前 · |
谈吐大方的刺猬 · GHNU-26 Evil Female ...· 1 周前 · |
豁达的钢笔 · 3月20日-22日,海南将赴四地“抢”人才· 2 月前 · |
逼格高的自行车 · 社会各界广泛参与共商轨道交通机场专线定价机制 ...· 4 月前 · |
细心的羊肉串 · 黑暗圣经1~6樱花动漫 - ...· 9 月前 · |
大方的台灯 · 近30岁!这款古董级汽车MCU,凭啥还能横扫 ...· 1 年前 · |
睿智的小熊猫 · 《浴血无名川》-高清电影-完整版在线观看· 1 年前 · |
This function creates a Subaccount.
domain
required
|
string
<
domain
>
The Subaccount user's associated domain that the cPanel account owns.
Example:
domain=example.com
|
password
required
|
string
<
password
>
The Subaccount's password. Note: Email, FTP, and Web Disk services use this password.
Example:
password=123456luggage
|
username
required
|
string
<
username
>
<= 64 characters
The username for the Subaccount. The username can only contain alphanumeric characters, dots (
Note: This value does not include the domain name.
Example:
username=example
|
alternate_email |
string
<
email
>
Default:
null
An alternate email address for the Subaccount's user. Note:
You
must
use this parameter if you set the
Example:
[email protected]
|
avatar_url |
string
<
url
>
Default:
null
The URL path to the user's Subaccount profile photo. Note: You must use the HTTPS protocol to prevent mixed content warnings when users view the image from another HTTPS URL. Warning: We reserved this parameter for future use. Do not use this parameter.
Example:
avatar_url=https://img.example.com/avatars/example.jpg
|
phone_number | |
real_name |
string
Default:
null
The Subaccount user's first and/or last name.
Example:
real_name=John Doe
|
send_invite |
integer
Default:
0
Whether to send a reset password email to the Subaccount's alternate email address.
1
- Send.
0
- Do not send.
Example:
send_invite=0
|
services.email.enabled |
integer
Default:
0
Whether to grant the Subaccount email access.
1
- Can access.
0
-
Cannot
access.
Example:
services.email.enabled=1
|
services.email.quota |
string
The maximum amount of disk space, in megabytes (MB), allocated to Subaccount's email account.
0
or
unlimited
- The subaccount has unlimited disk space.
This value defaults to the defined system value. Note: This value cannot be larger than the system's maximum email quota.
Example:
services.email.quota=500
|
services.email.send_welcome_email |
integer
Default:
0
Whether to send client configuration instructions to the account.
1
- Send the instructions.
0
- Do
not
send the instructions.
Example:
services.email.send_welcome_email=1
|
services.ftp.enabled |
integer
Default:
0
Whether to grant the Subaccount FTP access.
1
- Can access.
0
-
Cannot
access.
Example:
services.ftp.enabled=1
|
services.ftp.homedir |
string
<
path
>
The Subaccount's FTP home directory, relative to the cPanel account's home directory. Note:
services.ftp.homedir
parameter.
Example:
services.ftp.homedir=/Subaccount
|
services.webdisk.enabled |
integer
Default:
0
Whether to grant the Subaccount Web Disk access.
1
_ Can access.
0
-
Cannot
access.
Example:
services.webdisk.enabled=1
|
services.webdisk.enabledigest |
integer
Default:
0
Whether to enable the Web Disk Digest Authentication.
1
- Enabled.
0
- Disabled.
Note:
cpsrvd
and
cpdavd
daemons.
Example:
services.webdisk.enabledigest=0
|
services.webdisk.homedir |
string
<
path
>
The Subaccount's Web Disk home directory, relative to the cPanel account's home directory. Note:
This parameter is
required
if you enable the
Example:
services.webdisk.homedir=/Subaccount
|
services.webdisk.perms |
string
Default:
"rw"
The Subaccount's file permissions for its Web Disk home directory.
ro
- Read-only permissions.
rw
- Read and write permissions.
Note:
The
Example:
services.webdisk.perms=rw
|
services.webdisk.private |
integer
Default:
0
Whether to set the directory's permissions to public or private.
1
- Private (
0700
).
0
- Public (
0755
).
Example:
services.webdisk.private=1
|
type |
string
Default:
"sub"
The type of account.
sub
- A Subaccount.
Example:
type=sub
|
uapi --output=jsonpretty \ --user=username \
坚韧的熊猫 · self.UserModel._default_manager.db_manager(database).create_superuser(**user_data) TypeError: create 1 周前 |
豁达的钢笔 · 3月20日-22日,海南将赴四地“抢”人才 2 月前 |
睿智的小熊猫 · 《浴血无名川》-高清电影-完整版在线观看 1 年前 |