Execute Port Action
Perform an action on a specific device port. The request body must include the action name and any applicable input arguments.
Perform an action on a specific device port. The request body must include the action name and any applicable input arguments.
Authorization
ApiKey UniFi API key. Create one under Control Plane → Admins & Users → your admin → Create API Key (requires controller 9.0.114+).
In: header
Path Parameters
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
curl -X POST "https://example.com/v1/sites/497f6eca-6276-4993-bfeb-53cbbbba6f08/devices/497f6eca-6276-4993-bfeb-53cbbbba6f08/interfaces/ports/0/actions" \ -H "Content-Type: application/json" \ -d '{ "action": "string" }'Execute Adopted Device Action POST
Perform an action on an specific adopted device. The request body must include the action name and any applicable input arguments.
Get Adopted Device Details GET
Retrieve detailed information about a specific adopted device, including firmware versioning, uplink state, details about device features and interfaces (ports, radios) and other key attributes.