Add a subdomain with its own folder in the domain's public_html.
Request
Add parameter in header API-key
Example:API-key: ********************
or
Provide your bearer token in the Authorization
header when making requests to protected resources. Example:Authorization: Bearer ********************
or
Body Params application/jsonRequired
Request Code Samples
curl --location 'https://mijn.host/api/v2/hosting/12345/domains/example.com/subdomains' \
--header 'Accept: application/json' \
--header 'User-Agent: my-application/1.0.0' \
--header 'API-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"name": "string"
}'
Responses
application/json
{
"status": 200,
"status_description": "string",
"data": {
"subdomain": {}
}
}
Modified at 2026-11-20 15:12:54