autoregistration.update

Description

object autoregistration.update(object autoregistration)

This method allows to update existing autoregistration.

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 for more information.

Parameters

(object) Autoregistration properties to be updated.

Return values

(boolean ) Returns boolean true as result on successful update.

Examples

Request:

  1. {
  2. "jsonrpc": "2.0",
  3. "method": "autoregistration.update",
  4. "params": {
  5. "tls_accept": "3",
  6. "tls_psk_identity": "PSK 001",
  7. "tls_psk": "11111595725ac58dd977beef14b97461a7c1045b9a1c923453302c5473193478"
  8. },
  9. "auth": "038e1d7b1735c6a5436ee9eae095879e",
  10. "id": 1
  11. }

Response:

  1. {
  2. "jsonrpc": "2.0",
  3. "result": true,
  4. "id": 1
  5. }

Source

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