Member Update APIAPI Explorer
Introduction
API Introduction
Member Update API enables you to update the specified member's information, such as department or nickname.
API Calling
The API enables you to update the specified member's information, such as department or nickname.
Note:
Member numbers cannot be modified.
Request URL: https://api.jodoo.com/api/v5/corp/user/update
Request Rate: 20 times/second
Request Method: POST
Request Parameters:
Parameter | Required | Type | Description |
username | Yes | String | Member ID |
name | No | Nickname | |
departments | Number | The department list of users. |
Sample Request:
{
"username": "jodoo",
"name": "Harry",
"departments": [4]
}
Responses:
Parameter | Type | Description |
user | JSON | The modified member information is the same as the returned data structure of a single member. |
Sample Response:
{
"user": {
"username": "jodoo",
"name": "Harry",
"departments": [1,3],
"type": 0,
"status": 1
}
}