custom_api_request
Send custom API requests directly to the UniFi controller. Specify a URL path, HTTP method, and optional JSON payload to perform operations not available through standard tools.
Instructions
Make a custom API request to the controller. Use with care.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | URL path suffix, must start with '/' | |
| method | No | HTTP method: GET, POST, PUT, DELETE, or PATCH | GET |
| payload | No | JSON payload for POST/PUT/PATCH requests |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |