user.update
Scope: catalog Permissions to execute: for all
Updates user information. Available only for users with invitation permissions.
Parameters
All user.fields. ID field is required. Cannot change EMAIL.
Call
BX24.callMethod('user.update', {"ID": 1, "NAME": "Administrator"});
Request
https://my.bitrix24.com/rest/user.update.json?ID=1&NAME=Administrator&auth=1b2234a7412080205f4318e42c7298dc
Response
{"result":true}
Example
Example of query listing employee as dismissed.
BX24.callMethod('user.update', {"ID": 6, "ACTIVE": "N"});
© «Bitrix24», 2001-2024