[comment]: # ({38f2889f-38f2889f})
# autoregistration.update

[comment]: # ({/38f2889f-38f2889f})

[comment]: # ({011d2d29-13c79ed6})
### Опис

`object autoregistration.update(object autoregistration)`

Овај метод омогућава ажурирање постојеће ауторегистрације.

::: noteclassic
Овај метод доступан је само за типа корисника *Супер администратор*.
Дозволе за позивање методе могу бити опозване у корисничким подешавањима.
Погледајте 
за више информација [User
roles](/manual/web_interface/frontend_sections/users/user_roles).
:::

[comment]: # ({/011d2d29-13c79ed6})

[comment]: # ({5d041d55-dc051772})
### Параметри

`(object)` [Својства ауторегистрације](object#autoregistration) за ажурирање.

[comment]: # ({/5d041d55-dc051772})

[comment]: # ({4bb135e8-4bb135e8})
### Повратне вредности

`(boolean )` Враћа логичку вредност true као резултат након успешног ажурирања.

[comment]: # ({/4bb135e8-4bb135e8})

[comment]: # ({5b287322-d84ea91e})
### Примери

[Request](/manual/api#performing-requests):

```json
{
   "jsonrpc": "2.0",
   "method": "autoregistration.update",
   "params": {
      "tls_accept": "3",
      "tls_psk_identity": "PSK 001",
      "tls_psk": "11111595725ac58dd977beef14b97461a7c1045b9a1c923453302c5473193478"
   },
   "id": 1
}
```

Одговор:

```json
{
   "jsonrpc": "2.0",
   "result": true,
   "id": 1
}
```

[comment]: # ({/5b287322-d84ea91e})

[comment]: # ({0e014313-0e014313})
### Извор

CAutoregistration::update() у
*ui/include/classes/api/services/CAutoregistration.php*.

[comment]: # ({/0e014313-0e014313})
