Call Instructions:
This interface is used to modify the confluence user
This interface is called only by system administrators
The new user name (login name) cannot appear in uppercase letters
Interface Information | |||
---|---|---|---|
Name | update user | ||
Address | /rest/tools/1.0/api/user/update | ||
Method | POST | ||
Return Type | Json | ||
Authentication | Basic,token | ||
Header Parameter | |||
Parameter name | Required | Parameter type | Description |
ContentType | Y | String | application/json |
body Parameters | |||
Parameter name | Required | Parameter type | Description |
key | Y | String | User key (unique identifier and cannot be modified) |
name | N | String | username |
fullName | N | String | full name |
N | String | ||
password | N | String | password |
return value format | |||
Field | Type | Description | |
code | int | ||
msg | String | ||
data | String | { "name":"user name", "key":"user key", "fullName":"full name", "email":"email" } |
Example Postman call
Example body request parameters:
{ "key": "4028d02582446b9601824879b75d0000", "password":"965832" }
Example return value
{ "code": 0, "msg": "Success", "data": { "name": "amy", "key": "4028d02582446b9601824879b75d0000", "fullName": "t-amy", "email": "amy@shdsd.com" } }