Hosting: Domains
Delete website subdomain
Changed onDelete an existing subdomain from the selected website.
Use this endpoint to remove subdomains that are no longer needed.
delete/api/hosting/v1/accounts/{username}/websites/{domain}/subdomains/{subdomain}
Request
- Base URLhttps://developers.hostinger.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
usernamestring required
Example:u123456789
domainstring required
Example:mydomain.tld
Domain name
subdomainstring required
Example:blog
Response
Success empty response
Example response
{
"message": "Request accepted"
}Changes
- info
endpoint added
- info