Site Subdomain Redirects
A SiteSubdomainRedirect object represents an old Files.com subdomain that continues to work after the site's Files.com subdomain changes. HTTPS requests redirect to the current subdomain, and other protocols such as FTP and SFTP are routed through DNS.
List Site Subdomain Redirects
SDK Function
SiteSubdomainRedirect.list()
Return Object
ListIterator<SiteSubdomainRedirect>
Authorization Requirement
Requires either a Site-Wide API key or User API key or session from a User with Site Admin permissions.
Additional Arguments
Show Site Subdomain Redirect
SDK Function
SiteSubdomainRedirect.find()
Return Object
SiteSubdomainRedirect
Authorization Requirement
Requires either a Site-Wide API key or User API key or session from a User with Site Admin permissions.
Function Arguments
| Argument | Description |
|---|---|
| id int64 Required | Site Subdomain Redirect ID. |
Delete Site Subdomain Redirect
SDK Function
siteSubdomainRedirect.delete();
Return Object
No return value.
Authorization Requirement
Requires either a Site-Wide API key or User API key or session from a User with Site Admin permissions.
The SiteSubdomainRedirect Object
Some of the functions above return a SiteSubdomainRedirect object. The attributes of this object are listed below.
| Attribute | Description |
|---|---|
| id int64 | Site subdomain redirect ID. |
| subdomain string | Files.com subdomain that continues to route to the current site subdomain. |
| created_at date-time | When this redirect was created. |
| updated_at date-time | When this redirect was last updated. |