4.3.2.9 Update member information
PUT /rest/orgwise/3/member/{id}
DESCRIPTION
Modify the superior supervisor, gender, phone number, role, comments, or other extended properties of a member. You can modify one or more of the above information attributes at once. Information modification will generate change records.
MEDIA TYPE
application/json
PATH PARAM
Param | Description | Required |
---|---|---|
id | The member ID or username of a member. | Required |
REQUEST BODY
{
"no":"E1",
"superior":"amy",
"gender":"MALE",
"phone":1555668444,
"roles":"EMPLOYEE,ADMIN",
"memo":""
"memberProperties":[{"id":33,"value":"1,2"}]
}
BODY PARAM
Param | Type | Description | Required |
---|---|---|---|
no | string | Member number, combination of letters and numbers. | Optional |
gender | string | Gender: MALE, FEMALE, UNKNOWN | Optional |
superior | string | Member supervisor, user name of Jira user | Optional |
phone | string | Phone number, no more than 25 characters | Optional |
roles | string | Member role, role name, split with ",". | Optional |
memo | string | Memo | Optional |
memberProperties | array | Custom field attribute, id: Custom field id, value: Custom field value |
|
RESPONSE
{
"code": 0,
"msg": "Success""
}