> For AI agents: the complete documentation index is available at https://types-mediawiki-response.pages.dev/zh/llms.txt, the full documentation bundle is available at https://types-mediawiki-response.pages.dev/zh/llms-full.txt.

# Interface: ApiUnblockResult

Defined in: [core/unblock.ts:14](https://github.com/BearBin1215/types-mediawiki-response/blob/c1e25ea2ef2684b43c79e05d6e0dd36e33fbc9a3/src/core/unblock.ts#L14)

The `unblock` object of an `action=unblock` response.

## Properties

### id

> **id**: `number`

Defined in: [core/unblock.ts:16](https://github.com/BearBin1215/types-mediawiki-response/blob/c1e25ea2ef2684b43c79e05d6e0dd36e33fbc9a3/src/core/unblock.ts#L16)

Removed block id.

***

### reason

> **reason**: `string`

Defined in: [core/unblock.ts:25](https://github.com/BearBin1215/types-mediawiki-response/blob/c1e25ea2ef2684b43c79e05d6e0dd36e33fbc9a3/src/core/unblock.ts#L25)

Unblock reason (echoed back).

***

### user

> **user**: `string`

Defined in: [core/unblock.ts:19](https://github.com/BearBin1215/types-mediawiki-response/blob/c1e25ea2ef2684b43c79e05d6e0dd36e33fbc9a3/src/core/unblock.ts#L19)

Unblocked user name / IP; empty string when removing an autoblock.

***

### userid

> **userid**: `number`

Defined in: [core/unblock.ts:22](https://github.com/BearBin1215/types-mediawiki-response/blob/c1e25ea2ef2684b43c79e05d6e0dd36e33fbc9a3/src/core/unblock.ts#L22)

Unblocked user id (`0` for IPs and autoblocks). Note lowercase, unlike the block result.

***

### watchlistexpiry?

> `optional` **watchlistexpiry?**: [`WatchlistExpiry`](https://types-mediawiki-response.pages.dev/zh/api/core/WatchlistExpiry.md)

Defined in: [core/unblock.ts:34](https://github.com/BearBin1215/types-mediawiki-response/blob/c1e25ea2ef2684b43c79e05d6e0dd36e33fbc9a3/src/core/unblock.ts#L34)

Expiry applied to the watched user page, present only when `watchuser=1`
took effect.

***

### watchuser

> **watchuser**: `boolean`

Defined in: [core/unblock.ts:28](https://github.com/BearBin1215/types-mediawiki-response/blob/c1e25ea2ef2684b43c79e05d6e0dd36e33fbc9a3/src/core/unblock.ts#L28)

Whether the unblock added the unblocked user to the unblocker's watchlist.
