You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Domain name for the website. Cannot start with "www." and can have at most one subdomain level, e.g. `blog.example.com`.
order_id
int
Hosting order ID to create this website on. Choose the order whose hosting plan should host the new website. List orders to find available IDs.
datacenter_code
str
Datacenter for the hosting account when the order does not have one yet. Omit to use the order's default datacenter. Ignored when the order already has a hosting account. Must be an available datacenter; list available datacenters to find valid codes.
[optional]
Example
fromhostinger_api.models.hosting_v1_websites_create_website_requestimportHostingV1WebsitesCreateWebsiteRequest# TODO update the JSON string belowjson="{}"# create an instance of HostingV1WebsitesCreateWebsiteRequest from a JSON stringhosting_v1_websites_create_website_request_instance=HostingV1WebsitesCreateWebsiteRequest.from_json(json)
# print the JSON string representation of the objectprint(HostingV1WebsitesCreateWebsiteRequest.to_json())
# convert the object into a dicthosting_v1_websites_create_website_request_dict=hosting_v1_websites_create_website_request_instance.to_dict()
# create an instance of HostingV1WebsitesCreateWebsiteRequest from a dicthosting_v1_websites_create_website_request_from_dict=HostingV1WebsitesCreateWebsiteRequest.from_dict(hosting_v1_websites_create_website_request_dict)