List your hosting accounts

Retrieve a list of all hosting accounts associated with your account. The returned information, including a unique ID, is necessary for performing follow-up actions on specific hosting accounts.

Headers

Accept Example
Content-Type Example

Responses

200
success boolean
timestamp string
requestId string
data object
GET https://cloud.hostup.se/api/hosting-accounts
For AI assistants
cURL
curl -X GET "https://cloud.hostup.se/api/hosting-accounts" \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json"
Response
{
  "success": true,
  "timestamp": "string",
  "requestId": "string",
  "data": {
    "hosting_accounts": [
      "string"
    ],
    "pagination": {
      "currentPage": 0,
      "perPage": 0,
      "totalPages": 0,
      "totalRecords": 0
    }
  }
}