---
sourceType: api-reference
sourceTypeMatchedRule: api-prefix
slug: MA/api/zalo/unfollowOA
title: unfollowOA
---
```ts
import { unfollowOA } from "zmp-sdk";
```

API cho phép ứng dụng hiển thị giao diện yêu cầu bỏ theo dõi Official Account để người dùng xác nhận.

## Ví dụ

Hiển thị giao diện yêu cầu bỏ theo dõi Official Account:

```ts showLineNumbers
await unfollowOA({
  id: "xxxx",
});
```

> Xem hướng dẫn xử lý lỗi và bảng mô tả chi tiết mã lỗi [tại đây](/docs/MA/api/errorCode).

## Tham số

Truyền tham số vào API dưới dạng object chứa các thuộc tính:

| Property | Type | Required | Description |
|---|---|---|---|
| id | `string` | Yes | Id của Official Account. |
