da_api
Call any documented DirectAdmin New API endpoint directly when no dedicated tool exists. Provide method, path, parameters, and confirm destructive operations.
Instructions
Call any documented DirectAdmin New API endpoint.
Use this for operations that do not yet have a dedicated curated tool. The path must exist in the bundled swagger. /api/execute is blocked unless ENABLE_EXECUTE=true.
Args: method: GET POST PUT PATCH DELETE path: Template from da_list_endpoints (keep {placeholders}). path_params: Values for {placeholders}. query: Query string parameters. body: JSON body for non-GET requests. impersonate: Optional user to act as. confirm: Required for destructive methods / paths.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | ||
| path | Yes | ||
| query | No | ||
| method | Yes | ||
| confirm | No | ||
| impersonate | No | ||
| path_params | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |