hostingaccount::set_storage_limit
Description
Set hosting account's storage limit.
Request details
-
Method
POST
-
URL
https://api.hostingreborn.com/hostingaccount/set_storage_limit/
Arguments
- key
- API key
- domain
- Hosting account domain name
- limit
- Storage limit in megabytes. A limit of zero will remove the storage limit.
Responses
<?xml version="1.0" encoding="utf-8"?>
<success>true</success>
Exceptions
Examples
Setting a storage limit to 500 megabytes per month
POST /hostingaccount/set_storage_limit/
key=acbd18db4cc2f85cedef654fccc4a4d8
&domain=test01.example.com
&limit=500
<?xml version="1.0" encoding="utf-8"?>
<success>true</success>
Removing a storage limit
POST /hostingaccount/set_storage_limit/
key=acbd18db4cc2f85cedef654fccc4a4d8
&domain=test01.example.com
&limit=0
<?xml version="1.0" encoding="utf-8"?>
<success>true</success>
See also
-
hostingaccount::get_storage_limit
Get a hosting account's storage limit