文档焕新,旧文档请访问 doc.newapi.pro
New APINew API
使用指南部署安装API 参考AI 应用帮助支持商务合作
管理接口User management

管理用户状态

👨‍💼 需要管理员权限(Admin)

POST
/api/user/manage

Request Body

application/json

id?integer
action?string
Value in"disable" | "enable" | "delete" | "promote" | "demote"

Response Body

curl -X POST "https://api.example.com/api/user/manage" \  -H "Content-Type: application/json" \  -d '{}'
Empty

这篇文档对您有帮助吗?

最后更新于