subdomains_delete
Remove a subdomain from your DirectAdmin account, with the option to also delete its document root files. Specify the parent domain and subdomain label to clean up hosting entries.
Instructions
Delete a subdomain.
Args: domain: Parent domain. subdomain: Label to remove. contents: Also delete files under the subdomain document root. impersonate: Owning user. confirm: Required.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"domain": "<domain>",
"subdomain": "<subdomain>"
},
"name": "subdomains_delete"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | ||
| confirm | No | ||
| contents | No | ||
| subdomain | Yes | ||
| impersonate | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |