create_radius_profile
Create a RADIUS authentication profile on a UniFi site, specifying authentication server IP, port, and shared secret, with optional accounting server details.
Instructions
Create a RADIUS authentication profile.
host: console name, ID, or composite ID (MAC:numericId format). site: site name or ID. name: REQUIRED. Display name for the new RADIUS profile. auth_server_ip: REQUIRED. RADIUS authentication server IP address (string). auth_server_port: REQUIRED. RADIUS authentication server UDP port (integer, e.g. 1812). auth_server_secret: REQUIRED. Shared secret (string) for the RADIUS authentication server. acct_server_ip/port/secret: optional accounting server details. Note: if the console returns HTTP 405, RADIUS profile creation is not supported on this firmware version and profiles are effectively read-only. Use list_radius_profiles instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | Yes | ||
| name | Yes | ||
| site | Yes | ||
| acct_server_ip | No | ||
| auth_server_ip | Yes | ||
| acct_server_port | No | ||
| auth_server_port | Yes | ||
| acct_server_secret | No | ||
| auth_server_secret | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||