PUT /rest/orgwise/3/member/{userNameOrKey}
DESCRIPTION
Modify the member's superior supervisor, gender, phone number, role, comments, and other extended properties. 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 |
---|---|---|
userNameOrKey | The user name or key of a Jira user. | 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"" }