Admin - Hosting Accounts

List all hosting accounts

Display a listing of the resource.

get/api/hosting-accounts

Response

Success

idinteger
domainstring required
hosting_plan_idinteger required
reseller_idinteger
usernamestring
ssh_accessboolean
passwordstring

Write-only. Never returned in responses.

descriptionstring
setup_datestring date-time
expiry_datestring date-time
renewal_datestring date-time
is_auto_ssl_enabledboolean
is_suspendedboolean
namestring
phonestring
addressstring
citystring
statestring
zipstring
countrystring
companystring

Example response

[
  {
    "id": 1,
    "domain": "example.com",
    "hosting_plan_id": 1,
    "reseller_id": 1,
    "username": "user123",
    "ssh_access": true,
    "password": "VerrySecurePasswordX1!2#3z4",
    "description": "Main account",
    "setup_date": "2024-01-01T00:00:00Z",
    "expiry_date": "2025-01-01T00:00:00Z",
    "renewal_date": "2024-12-01T00:00:00Z",
    "is_auto_ssl_enabled": true,
    "name": "John Doe",
    "phone": "+123456789",
    "address": "123 Main St",
    "city": "New York",
    "state": "NY",
    "zip": "10001",
    "country": "US",
    "company": "Acme Inc."
  }
]

Changes

No recorded changes to this endpoint across all 1 revision of this API.