API documentation Web hosting accessible to everyone Visit LWS

Schema

HostingPost

  • package string

    Which hosting to buy among all LWS hostings

    Example: LWS Perso

  • domain string

    Domain name to associate the hosting to

    Example: example.com

  • owner integer

    Owner of the hosting

    Example: 565487

  • type string

    All options will buy the selected hosting. 'buy' will also purchase the domain ; 'host' will only buy the hosting, assuming you already possess the domain ; 'transfer' will transfer an existing domain from another registrar to LWS.

    Example: buy

  • period integer

    Period of the hosting

    Example: 12

Example
{
  "package": "LWS Perso",
  "domain": "example.com",
  "owner": 565487,
  "type": "buy",
  "period": 12
}