API documentation Web hosting accessible to everyone Visit LWS

Schema

DomainRedirect

  • type integer

    Type of redirection to use. 301 (Moved permanently) or 302 (Found/Moved temporarily)

    Example: 301

  • redirection string

    The URL to where the redirection will be performed

    Example: https://www.example.com

Example
{
  "type": 301,
  "redirection": "https://www.example.com"
}