Hosting
Create a bulk hosting plan
API Reference
Domain Name API
- POSTGet Reseller Details
- POSTGet Reseller Balance
- POSTGet TLD List
- POSTSingle Domain Check
- POSTBulk Domain Check
- POSTRegister Domain
- POSTDomain List in a Reseller Account
- POSTGet Registered Domain Details
- POSTGet Domain Contact
- POSTEnable Theft Lock (EPP)
- POSTDisable Theft Lock
- POSTModify Domain Nameserver
- POSTAdd Child Nameserver (Private DNS)
- POSTModify Child Nameserver
- POSTDelete Child Nameserver
- POSTSync Domain From Registry
- POSTTransfer Domain
- POSTCancel Transfer
- POSTModify Privacy (WHOIS)
Server
Auth
Hosting
- GETGet all hosting groups
- POSTCreate a new hosting plan
- DELDelete all hosting groups
- POSTCreate a bulk hosting plan
- GETGet a hosting group by ID
- DELDelete a hosting group by ID
- PATCHupdate a hosting group by id
- GETGet a hosting group by name
- DELDelete a hosting group by name
- POSTCreate a new hosting subgroup
Hosting
Create a bulk hosting plan
POST
/
hosting
/
group
/
bulk
curl --request POST \
--url https://api.hostwithdothost.com/hosting/group/bulk \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"hostingGroups": [
{
"hostingGroupName": "Premium Hosting",
"hostingGroupDescription": "High-performance hosting for businesses.",
"hostingGroupImage": "http://example.com/image.jpg"
}
]
}'
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
Array of hosting groups to be created in bulk.
The name of the hosting group.
Example:
"Premium Hosting"
The description of the hosting group.
Example:
"High-performance hosting for businesses."
The image URL for the hosting group.
Example:
"http://example.com/image.jpg"
Was this page helpful?
curl --request POST \
--url https://api.hostwithdothost.com/hosting/group/bulk \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"hostingGroups": [
{
"hostingGroupName": "Premium Hosting",
"hostingGroupDescription": "High-performance hosting for businesses.",
"hostingGroupImage": "http://example.com/image.jpg"
}
]
}'