hostingaccounts::list

Description

List your hosting accounts

Request details

Arguments

key
API key
exclude_deleted (boolean)
Exclude details of hosting accounts that have been deleted

Responses

<?xml version="1.0" encoding="utf-8"?>
<hostingaccounts>
  <hostingaccount>
    <domain>test01.example.com</domain>
    <username>test01</username>
    <owner>user01@example.com</owner>
    <creationtime>2008-09-11 11:57:43</creationtime>
    <serverip>78.31.104.54</serverip>
    <storagelimit>0</storagelimit>
    <bandwidthlimit>0</bandwidthlimit>
    <storageusage>0</storageusage>
    <bandwidthusage>0</bandwidthusage>
    <storagecost>0</storagecost>
    <bandwidthcost>0</bandwidthcost>
    <status>deleted</status>
  </hostingaccount>
  <hostingaccount>
    <domain>test02.example.com</domain>
    <username>test02</username>
    <owner>user01@example.com</owner>
    <creationtime>2008-09-11 11:57:43</creationtime>
    <serverip>78.31.104.54</serverip>
    <storagelimit>0</storagelimit>
    <bandwidthlimit>0</bandwidthlimit>
    <storageusage>36884542</storageusage>
    <bandwidthusage>236532001</bandwidthusage>
    <storagecost>0.55</storagecost>
    <bandwidthcost>0.6680021</bandwidthcost>
    <status>active</status>
  </hostingaccount>
</hostingaccounts>
	
hostingaccounts
Container for list of hosting accounts
hostingaccount
See hostingaccount::get

Exceptions

Examples

List all hosting accounts

GET /hostingaccounts/list/
key=acbd18db4cc2f85cedef654fccc4a4d8
<?xml version="1.0" encoding="utf-8"?>
<hostingaccounts>
  <hostingaccount>
    <domain>test01.example.com</domain>
    <username>test01</username>
    <owner>user01@example.com</owner>
    <creationtime>2008-09-11 11:57:43</creationtime>
    <serverip>78.31.104.54</serverip>
    <storagelimit>0</storagelimit>
    <bandwidthlimit>0</bandwidthlimit>
    <storageusage>0</storageusage>
    <bandwidthusage>0</bandwidthusage>
    <storagecost>0</storagecost>
    <bandwidthcost>0</bandwidthcost>
    <status>deleted</status>
  </hostingaccount>
  <hostingaccount>
    <domain>test02.example.com</domain>
    <username>test02</username>
    <owner>user01@example.com</owner>
    <creationtime>2008-09-11 11:57:43</creationtime>
    <serverip>78.31.104.54</serverip>
    <storagelimit>0</storagelimit>
    <bandwidthlimit>0</bandwidthlimit>
    <storageusage>36884542</storageusage>
    <bandwidthusage>236532001</bandwidthusage>
    <storagecost>0.55</storagecost>
    <bandwidthcost>0.6680021</bandwidthcost>
    <status>active</status>
  </hostingaccount>
</hostingaccounts>
	

List hosting accounts excluding those that have been deleted

GET /hostingaccounts/list/
key=acbd18db4cc2f85cedef654fccc4a4d8
&exclude_deleted=true
<?xml version="1.0" encoding="utf-8"?>
<hostingaccounts>
  <hostingaccount>
    <domain>test02.example.com</domain>
    <username>test02</username>
    <owner>user01@example.com</owner>
    <creationtime>2008-09-11 11:57:43</creationtime>
    <serverip>78.31.104.54</serverip>
    <storagelimit>0</storagelimit>
    <bandwidthlimit>0</bandwidthlimit>
    <storageusage>36884542</storageusage>
    <bandwidthusage>236532001</bandwidthusage>
    <storagecost>0.55</storagecost>
    <bandwidthcost>0.6680021</bandwidthcost>
    <status>active</status>
  </hostingaccount>
</hostingaccounts>
	
  1. Index
  2. About the API

    1. Summary
    2. Specification
    3. Do not use undocumented features
    4. Change log
  3. Using the API

    1. Requests
      1. Authenticated requests
      2. Limits
      3. Common request value data types
    2. Understanding responses
      1. HTTP status codes used
      2. Exceptions
        1. access
        2. account
        3. database
        4. hostingaccount
        5. server
        6. system
  4. Function reference