account::get_suspended_url
Description
Get 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.
This value retrieved with account::get_suspended_url is the account-wide default. This can be
overridden with the hosting account-specific hostingaccount::set_suspended_url.
Request details
-
Method
GET
-
URL
https://api.hostingreborn.com/account/get_suspended_url/
Arguments
- key
- API key
Responses
<?xml version="1.0" encoding="utf-8"?>
<url>http://hostingreborn.com/suspended/</url>
- url
- Default redirect URL for a given account's hosting accounts
Exceptions
Examples
Get redirect URL for an account with no custom URL set
GET /account/get_suspended_url/?key=acbd18db4cc2f85cedef654fccc4a4d8
<?xml version="1.0" encoding="utf-8"?>
<url>http://hostingreborn.com/suspended/</url>
Get redirect URL for an account with a custom URL set
GET /account/get_suspended_url/?key=acbd18db4cc2f85cedef654fccc4a4d8
<?xml version="1.0" encoding="utf-8"?>
<url>http://example.com/customSuspendedUrl/</url>
See also
-
account::set_suspended_url
Set 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