API DocsAPI Docs
delete/api/group/{groupId}
delete/api/group/{groupId}
删除小组
Basic Information
Request Method:
delete
Request URL:
https://www.lycoo.com/api/group/{groupId}
Tags:
小组基本信息
Description
软删除指定的小组。仅小组创建者可以执行此操作。
与 /api/groups/{groupId} 接口功能相同,提供了另一种URL路径实现同样的删除功能。
用途:
- 小组创建者可以软删除自己创建的小组
- 被软删除的小组可以稍后恢复
Path Parameters
Path Parameters Explanation
Path parameters are variables in the URL path, for example:
https://www.lycoo.com/api/group/:groupId
Parameter Name | Type | Required | Example Value | Description |
---|---|---|---|---|
groupId | string | Required | example | 要删除的小组ID |
Header Parameters
Header Parameters Explanation
Header parameters are used to pass additional information, such as authentication credentials, content type, etc.
Parameter Name | Type | Required | Example Value | Description |
---|---|---|---|---|
Authorization | string | Required | Bearer sha_1234567890abcdef... | The authentication header is used to verify the identity of API requests, containing an access token Format: Bearer {token} |
Response Example
200小组删除成功
{
"success": true,
"message": "string"
}
401
403
404
500