解散群组
DELETE
/im/v2/teams/{team_id}
请求参数
Path 参数
team_id
string
必需
Header 参数
AppKey
string
必需
默认值:
{{AppKey}}
X-custom-traceid
string
可选
默认值:
{% mock 'uuid' %}
Nonce
string
必需
默认值:
{{Nonce}}
CurTime
string
必需
默认值:
{{CurTime}}
CheckSum
string
必需
默认值:
{{CheckSum}}
Body 参数application/json
team_type
integer
必需
>= 1<= 2
extension
string
可选
operator_id
string
必需
示例
{
"team_type": 1,
"extension": "string",
"operator_id": "string"
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request DELETE 'https://open.yunxinapi.com/im/v2/teams/' \
--header 'AppKey;' \
--header 'X-custom-traceid: {% mock '\''uuid'\'' %}' \
--header 'Nonce;' \
--header 'CurTime;' \
--header 'CheckSum;' \
--header 'Content-Type: application/json' \
--data-raw '{
"team_type": 1,
"extension": "string",
"operator_id": "string"
}'
返回响应
🟢200成功
application/json
Body
code
integer
必需
msg
string
必需
data
object
必需
示例
{
"code": 0,
"msg": "string",
"data": {}
}
🟢200成功
🟢200