DNS automation
v1.6.2
List web hosting packages
Lists the customer's web hosting packages with plan, status, PHP version and counts of aliases and databases.
GET
/hosting/packages
Hosting
Authentication
Request example
GET
curl --request GET \
--url 'https://api.regfish.com/hosting/packages' \
--header 'x-api-key: YOUR_API_KEY'Responses
200
Hosting packages
Response example 200
{
"success": true,
"code": 0,
"response": {
"packages": [
{
"id": "example",
"webhost_id": 1,
"plan": "example",
"status": "example",
"active": true
}
]
}
}401
Unauthorized
Response example 401
{
"success": false,
"message": "Unauthorized",
"error": "Unauthorized"
}500
Unexpected error
Response example 500
{
"success": false,
"message": "Unexpected error",
"error": "Unexpected error"
}Community
Become part of the community
The regfish DNS API is a great solution for developers who want to automate domains and DNS zones. Become part of the community and benefit from DNS automation. The DNS API is available free of charge to every regfish customer.