更新企业成员
PUT
https://open.teambition.com/api/org/member/update企业更新权限-tbs-org:organization:update
请求参数
Body 参数application/json
operatorId
string
操作人 ID
orgId
string
企业 ID
members
array [object {3}]
必需
userId
string
用户 ID
role
string
可选
成员角色,取值为:-1: 外部成员, 0: 成员, 1: 管理员, 2: 拥有者
profile
object
可选
示例
{
"operatorId": "string",
"orgId": "string",
"members": [
{
"userId": "string",
"role": "string",
"profile": {
"birthday": "string",
"city": "string",
"province": "string",
"country": "string",
"email": "string",
"entryTime": "string",
"name": "string",
"phone": "string",
"title": "string",
"pinyin": "string",
"py": "string",
"staffType": "string",
"employeeNumber": "string"
}
}
]
}
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
result
object
必需
code
number
响应状态码
errorMessage
string
异常错误信息
示例
{
"result": {},
"code": 0,
"errorMessage": "string"
}
最后修改时间: 2 年前