POST
/
hosting
/
group
curl --request POST \
  --url https://api.hostwithdothost.com/hosting/group \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "hostingGroupName": "Premium Hosting",
  "hostingGroupDescription": "High-performance hosting for businesses.",
  "hostingGroupImage": "http://example.com/image.jpg"
}'

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
hostingGroupName
string
required

The name of the hosting group.

Example:

"Premium Hosting"

hostingGroupDescription
string

The description of the hosting group.

Example:

"High-performance hosting for businesses."

hostingGroupImage
string

The image URL for the hosting group.

Example:

"http://example.com/image.jpg"