JSON API
Domains
Get a user by domain

Get a user by domain

This endpoint gets a user which has the requested domain connected to their vPanel account.

HTTP Endpoint

POST https://panel.myownfreehost.net/json-api/getdomainuser.php

Usage

curl -X POST -u username:password -d "api_user=username&api_key=password&domain=subdomain.example.com" "https://panel.myownfreehost.net/json-api/getdomainuser.php"

Response

💡

The above request returns a list/array structured like the following:

["ACTIVE","subdomain.example.com","\/home\/vol15_2\/example.com\/hname_12345678\/htdocs","hname_12345678"]