Update Operator
is used update operator info
Request address
- API Address (requestURI) : /openapi/v1/operator/update
Request parameters
| Parameter name | Type | Requirement | Description |
|---|---|---|---|
| operatorId | Long | O | UID of the current operator |
| id | Long | R | Administrator ID |
| subSystemCode | String | R | Subsystem code |
| subSystemName | String | O | Subsystem name |
| tenantPermission | String | O | Tenant data access permission granted to the administrator |
| userName | String | O | Login account |
| nickname | String | O | Name |
| roleIds | List<Long> | O | Role IDs, multiple roles allowed |
| remark | String | O | Remark |
| deleted | Integer | O | Status: 0 for enabled, 1 for disabled |
| password | String | O | Password |
| passwordConfirm | String | O | Confirm password |
Sample request
{
"deleted": 0,
"id": 20,
"subSystemCode": "000001",
"subSystemName": "CRM",
"remark": "1234",
"tenantPermission": "TTF,MFT"
}
Response parameters
| Parameter name | Type | Requirement | Description |
|---|---|---|---|
| code | String | R | Response code |
| msg | String | R | Response message |
| data | - | O | Data returned (if applicable) |
| success | Boolean | R | Indicates if the operation was successful |
Sample response
{
"code": "0",
"msg": "ok",
"data": null,
"success": true
}