domain-toggleEnable
Toggles the enabled state of a Dokploy domain by its domainId, letting you activate or deactivate a domain through the API without deleting its configuration.
Instructions
POST /domain.toggleEnable
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": {
"domainId": "<domainId>"
},
"name": "domain-toggleEnable"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domainId | Yes |