POST
/
subgroup
curl --request POST \
  --url https://api.hostwithdothost.com/subgroup \
  --header 'Content-Type: application/json' \
  --data '{
  "hostingSubGroupName": "<string>",
  "SubGroupFeatures": "<string>",
  "whmplanId": "<string>",
  "hostingSubGroupImage": "<string>",
  "hostingGroupId": "<string>",
  "hostingStatus": "ACTIVE",
  "pricing": [
    {
      "interval": "MONTH_1",
      "price": 99.99,
      "currency": "USD",
      "country": "US"
    }
  ]
}'

Body

application/json
hostingSubGroupName
string
required

Name of the hosting subgroup

SubGroupFeatures
string
required

Features of the hosting subgroup

whmplanId
string
required

WHM plan ID

hostingGroupId
string
required

ID of the hosting group this subgroup belongs to

hostingStatus
enum<string>
default:ACTIVE
required

Status of the hosting subgroup

Available options:
ACTIVE,
PENDING,
SUSPENDED,
ARCHIVED,
DELETED,
FRAUD
pricing
object[]
required

List of pricing options for different billing intervals and regions.

hostingSubGroupImage
string

Image URL for the hosting subgroup