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`: Domain to verify ownership for (required)
705
+
706
+
### hosting_listOrdersV1
707
+
708
+
Retrieve a paginated list of orders accessible to the authenticated client.
709
+
710
+
This endpoint returns orders of your hosting accounts as well as orders of other client hosting accounts that have shared access with you.
711
+
712
+
Use the available query parameters to filter results by order statuses or specific order IDs for more targeted results.
713
+
714
+
-**Method**: `GET`
715
+
-**Path**: `/api/hosting/v1/orders`
716
+
717
+
**Parameters**:
718
+
719
+
-`page`: Page number
720
+
-`per_page`: Number of items per page
721
+
-`statuses`: Filter by order statuses
722
+
-`order_ids`: Filter by specific order IDs
723
+
724
+
### hosting_listWebsitesV1
725
+
726
+
Retrieve a paginated list of websites (main and addon types) accessible to the authenticated client.
727
+
728
+
This endpoint returns websites from your hosting accounts as well as websites from other client hosting accounts that have shared access with you.
729
+
730
+
Use the available query parameters to filter results by username, order ID, or enabled status for more targeted results.
731
+
732
+
-**Method**: `GET`
733
+
-**Path**: `/api/hosting/v1/websites`
734
+
735
+
**Parameters**:
736
+
737
+
-`page`: Page number
738
+
-`per_page`: Number of items per page
739
+
-`username`: Filter by specific username
740
+
-`order_id`: Order ID
741
+
-`is_enabled`: Filter by enabled status
742
+
743
+
### hosting_createWebsiteV1
744
+
745
+
Create a new website for the authenticated client.
746
+
747
+
Provide the domain name and associated order ID to create a new website. The datacenter_code parameter is required when creating the first website on a new hosting plan - this will set up and configure new hosting account in the selected datacenter.
748
+
749
+
Subsequent websites will be hosted on the same datacenter automatically.
750
+
751
+
Website creation takes up to a few minutes to complete. Check the websites list endpoint to see when your new website becomes available.
752
+
753
+
-**Method**: `POST`
754
+
-**Path**: `/api/hosting/v1/websites`
755
+
756
+
**Parameters**:
757
+
758
+
-`domain`: Domain name for the website. Cannot start with "www." (required)
759
+
-`order_id`: ID of the associated order (required)
760
+
-`datacenter_code`: Datacenter code. This parameter is required when creating the first website on a new hosting plan.
0 commit comments