API DocsAPI Docs
post/api/group/{groupId}/restore
post/api/group/{groupId}/restore
恢复已删除小组
Basic Information
Request Method:
post
Request URL:
https://www.lycoo.com/api/group/{groupId}/restore
Tags:
小组基本信息
Description
恢复之前软删除的小组。仅小组创建者可以执行此操作。
与 /api/groups/{groupId}/restore 接口功能相同,提供了另一种URL路径实现同样的恢复功能。
用途:
- 恢复之前软删除的小组
- 使小组重新可用
Path Parameters
Path Parameters Explanation
Path parameters are variables in the URL path, for example:
https://www.lycoo.com/api/group/:groupId/restore
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