# Unblock IP on cPanel

`POST /v1/service/cpanel2/@id/unblock` · scope `services:write`

Unblock an IP on the firewall of the cPanel server that hosts the service. Returns `block` and `myip`.

## HTTP request

| Item | Value |
| --- | --- |
| URL | `https://api.tino.vn/v1/service/cpanel2/@id/unblock` |
| Method | `POST` |
| Scope | `services:write` |
| Header | `Authorization: Bearer <token>` |
| Content-Type | — (no body) |
| Tokens that can call it | app tokens (`tinoat_`), personal API tokens (`tinopat_`) |

## Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `id` | path | integer | yes | cPanel hosting service ID |

## Example request

```bash
curl -X POST "https://api.tino.vn/v1/service/cpanel2/12345/unblock" \
  -H "Authorization: Bearer $TINO_TOKEN"
```

`$TINO_TOKEN` is a token with the scope `services:write`. Path parameters in the example are sample values.

SDK ([SDK & examples](/en/docs/sdk)): Python `client.cpanel.unblock_ip(id)`, Node.js `await client.cpanel.unblockIp(id);`, PHP `$client->cpanel->unblockIp($id);`.

## Example response

No live sample: the route changes real data or the test account has no data for it. The answer is a JSON object; errors follow the common shape in [Calling the Tino API](/en/docs/api#errors).
