account::set_suspended_url
Description
Set default redirect URL for this account's suspended hosting accounts.
A suspended hosting account's website will redirect all requests to a predefined 'hosting account suspended' URL.
The value set through account::set_suspended_url is the account-wide default. This can be
overridden with the hosting account-specific hostingaccount::set_suspended_url.
Request details
-
Method
POST
-
URL
https://api.hostingreborn.com/account/set_suspended_url/
Arguments
- key
- API key
- url
- Redirect URL to use
Responses
<?xml version="1.0" encoding="utf-8"?>
<success>true</success>
Exceptions
Examples
Set redirect url to http://example.com/suspended/
POST /account/set_suspended_url/
key=acbd18db4cc2f85cedef654fccc4a4d8
&url=http://example.com/suspended/
<?xml version="1.0" encoding="utf-8"?>
<success>true</success>
See also
-
account::get_suspended_url
Get default redirect URL for this account's suspended hosting accounts
-
hostingAccount::get_suspended_url
Get redirect URL for when a hosting account is suspended
-
hostingAccount::set_suspended_url
Set redirect URL for when a hosting account is suspended