更新 IDMap
POST
https://open.teambition.com/api/idmap/update
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://open.teambition.com/api/idmap/update' \
--header 'Authorization: Bearer <appAccessToken>' \
--header 'X-Tenant-Id: 50c32af35a87e6b2...' \
--header 'X-Tenant-Type: organization' \
--header 'Content-Type: application/json' \
--data-raw '{
"tbId": "66",
"refer": "consequat nisi eu",
"update": {
"refId": "86",
"extra": null
},
"multi": false
}'
响应示例响应示例
{
"code": 200,
"errorMessage": "",
"result": {
"extra": {
"long_token": "qtAyaMCZyEz...",
"user_id": "2019142444..."
},
"id": "57358e9fb52c11...",
"refId": "fcACiQackHIHABm...",
"refer": "yiqixie",
"tbId": "5735651f547d0e..."
}
}
请求参数
Header 参数
Content-Type
string
可选
示例值:
application/json
Authorization
string
可选
默认值:
{{Authorization}}
X-Tenant-Id
string
企业 ID
默认值:
{{X-Tenant-Id}}
X-Tenant-Type
string
可选
默认值:
organization
Body 参数application/json
返回响应
修改于 2023-01-06 07:08:41