删除渠道
curl --request DELETE \
--url https://api.lmm.best/api/channel/{id}import requests
url = "https://api.lmm.best/api/channel/{id}"
response = requests.delete(url)
print(response.text)const options = {method: 'DELETE'};
fetch('https://api.lmm.best/api/channel/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.lmm.best/api/channel/{id}"
req, _ := http.NewRequest("DELETE", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}渠道管理
删除渠道
👨💼 需要管理员权限(Admin)
DELETE
/
api
/
channel
/
{id}
删除渠道
curl --request DELETE \
--url https://api.lmm.best/api/channel/{id}import requests
url = "https://api.lmm.best/api/channel/{id}"
response = requests.delete(url)
print(response.text)const options = {method: 'DELETE'};
fetch('https://api.lmm.best/api/channel/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.lmm.best/api/channel/{id}"
req, _ := http.NewRequest("DELETE", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}路径参数
响应
200
成功
最后修改于 2026年9月23日
⌘I