[comment]: # translation:outdated

[comment]: # ({8790eaaa-8790eaaa})
# user.unblock

[comment]: # ({/8790eaaa-8790eaaa})

[comment]: # ({new-ae802b92})
### Description

`object user.unblock(array userids)`

This method allows to unblock users.

::: noteclassic
This method is only available to *Super admin* user type.
Permissions to call the method can be revoked in user role settings. See
[User
roles](/manual/web_interface/frontend_sections/administration/user_roles)
for more information.
:::

[comment]: # ({/new-ae802b92})

[comment]: # ({cdc313c2-cdc313c2})
### Parametri

`(array)` ID degli utenti da sbloccare.

[comment]: # ({/cdc313c2-cdc313c2})

[comment]: # ({751d77e0-751d77e0})
### Valori di ritorno

`(object)` Restituisce un oggetto contenente gli ID degli utenti sbloccati
sotto la proprietà `userids`.

[comment]: # ({/751d77e0-751d77e0})

[comment]: # ({b41637d2-b41637d2})
### Esempi

[comment]: # ({/b41637d2-b41637d2})

[comment]: # ({new-2d447a22})
#### Unblocking multiple users

Unblock two users.

Request:

``` {.java}
{
    "jsonrpc": "2.0",
    "method": "user.unblock",
    "params": [
        "1",
        "5"
    ],
    "auth": "3a57200802b24cda67c4e4010b50c065",
    "id": 1
}
```

Response:

``` {.java}
{
    "jsonrpc": "2.0",
    "result": {
        "userids": [
            "1",
            "5"
        ]
    },
    "id": 1
}
```

[comment]: # ({/new-2d447a22})

[comment]: # ({e10b30be-e10b30be})
### Fonte

CUser::unblock() in *ui/include/classes/api/services/CUser.php*.

[comment]: # ({/e10b30be-e10b30be})
