---
title: "readAttributeBorderAgentID(completion:)"
framework: matter
role: symbol
role_heading: Instance Method
path: "matter/mtrbaseclusterthreadborderroutermanagement/readattributeborderagentid(completion:)"
---

# readAttributeBorderAgentID(completion:)

## Declaration

```swift
func readAttributeBorderAgentID(completion: @escaping @Sendable (Data?, (any Error)?) -> Void)
```

```swift
func readAttributeBorderAgentID() async throws -> Data
```
