HostingCreateResponse

Request Information
TYPE Response
CategoryObjects

Description

Object: HostingCreateResponse

Properties

name type required default description
hosting object: Hosting yes The new hosting object
responseId string yes The response id
clientRequestId string no The client request id if it was provided via the client-request-id header
status string yes The status of the request
message string yes The message

Sample JSON

{
  "responseId": "1_95ff57e530975c08c70d6361951f35b46e7ec5de",
  "status": "ok",
  "message": "The hosting object is attached",
  "hosting": {
    "identifier": "1_aed1f3d95b069d5cdf88ef9d70392d359847e144",
    "status": "active",
    "domain": "example-2021-8-9-14-40-49.com",
    "info": {
      "serverPlan": "basic",
      "pleskUser": "h_00000001",
      "pleskFtpUser": "f_00000001",
      "pleskClientId": 282,
      "pleskHostingId": 235,
      "activeDomains": 1,
      "subdomains": 0,
      "diskspace": 0,
      "databases": 0,
      "traffic": 0,
      "trafficPrevDay": 0
    },
    "options": [
      {
        "name": "letsEncrypt",
        "value": "disabled",
        "arguments": []
      }
    ],
    "package": {
      "packageId": "basic",
      "type": "plesk",
      "status": "active",
      "spec": [
        {
          "type": "diskspace",
          "value": "1000"
        }
      ],
      "created": 1626272615,
      "modified": 1626272619
    },
    "server": {
      "identifier": "pleskdev",
      "hostname": "pleskdev.yourdomainprovider.net",
      "type": "plesk",
      "status": "active",
      "ips": [
        {
          "address": "213.249.70.50",
          "version": 4
        },
        {
          "address": "2a01:448:1004::50",
          "version": 6
        }
      ],
      "availablePackages": [
        "basic",
        "pro"
      ],
      "usage": 1,
      "capacity": 20,
      "created": 1626259040,
      "modified": 1626259045
    },
    "suspended": false,
    "renewalDay": 9,
    "period": 1,
    "nextRenewal": "2021-08-10",
    "openJobCount": 1,
    "openJobs": [
      {
        "id": 2,
        "type": "updateHostingPackage",
        "status": "new",
        "created": 1628512942
      }
    ],
    "servicePeriod": 7,
    "serviceStatus": "active",
    "serviceRenewalMonth": 8,
    "nextServiceRenewalDate": "2021-08-16",
    "created": 1628512849,
    "modified": 1628512882
  }
}