---
title: "Get ACL Rule"
method: GET
path: "/v1/sites/{siteId}/acl-rules/{aclRuleId}"
tags: ["Access Control (ACL Rules)"]
---

# Get ACL Rule

`GET /v1/sites/{siteId}/acl-rules/{aclRuleId}`

## 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}/acl-rules/{aclRuleId}`
- Auth: none declared
- TypeScript: <https://skmtc.dev/ubiquiti/apis/unifi-network-api/docs/v1/sites/:siteId/acl-rules/:aclRuleId/get.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `aclRuleId` string, uuid, required
- `siteId` string, uuid, required

## Response `200`

OK

- ACLRule
  - `type` string, required
  - `id` string, uuid, required
  - `enabled` boolean, required
  - `name` string, required: ACL rule name
  - `description` string: ACL rule description
  - `action` 'ALLOW' | 'BLOCK', required: ACL rule action
  - `enforcingDeviceFilter` ACLRuleDeviceFilter
    - `type` string, required
  - `index` integer, required: ACL rule index. Lower index has higher priority
  - `sourceFilter` unknown
  - `destinationFilter` unknown
  - `metadata` UserDefinedOrDerivedEntityMetadata, required
    - `origin` string, required

---

[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)
