Execute Client Action
Perform an action on a specific connected client. The request body must include the action name and any applicable input arguments.
Perform an action on a specific connected client. The request body must include the action name and any applicable input arguments.
Authorization
ApiKey X-Api-Key<token>
UniFi API key. Create one under Control Plane → Admins & Users → your admin → Create API Key (requires controller 9.0.114+).
In: header
Path Parameters
clientId*string
siteId*string
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
body*Client action request
Response Body
application/json
curl -X POST "https://example.com/v1/sites/497f6eca-6276-4993-bfeb-53cbbbba6f08/clients/497f6eca-6276-4993-bfeb-53cbbbba6f08/actions" \ -H "Content-Type: application/json" \ -d '{ "action": "string" }'{ "action": "string"}