---
title: "Execute Adopted Device Action"
method: POST
path: "/v1/sites/{siteId}/devices/{deviceId}/actions"
tags: ["UniFi Devices"]
---

# Execute Adopted Device Action

`POST /v1/sites/{siteId}/devices/{deviceId}/actions`

## Request

- Base URL: `https://api.ui.com/v1/connector/consoles/942A6FF664C0000000000964970E0000000009E710560000000068A9873F:9999999999/proxy/network/integration`
- URL: `https://api.ui.com/v1/connector/consoles/942A6FF664C0000000000964970E0000000009E710560000000068A9873F:9999999999/proxy/network/integration/v1/sites/{siteId}/devices/{deviceId}/actions`
- Auth: none declared
- TypeScript: <https://skmtc.dev/ubiquiti/apis/unifi-network-api/docs/v1/sites/:siteId/devices/:deviceId/actions/post.ts> (a function with typed inputs; its response is checked against the schema)

Perform an action on an specific adopted device. The request body must include the action name and any applicable input arguments.

## Path parameters

- `siteId` string, uuid, required
- `deviceId` string, uuid, required

## Request body

- DeviceActionRequest
  - `action` string, required

## Response `200`

OK

---

[API](https://skmtc.dev/ubiquiti/apis/unifi-network-api.md) - [All operations](https://skmtc.dev/ubiquiti/apis/unifi-network-api/llms.txt) - [OpenAPI document](https://skmtc.dev/ubiquiti/apis/unifi-network-api/revisions/822d5af98ce5?raw)
