OkayAPI Docs


API Path: /api/App/Market_RightsAssign/Remove

API Description: 进行权限移除,删除已经分配的权限。使用前请先安装用户权限分配插件

1
API Traffic
HTTP/HTTPS
Protocol
GET/POST
Method
UTF-8
Charset
JSON
Response

API Debug   


API Params

ParameterTypeRequiredDefaultNoteDescription
HTTP_APPKEYStringRequiredMIN: 32Common Put Your APPKEY
user_roleStringOptaionMAX: 20会员分组,小白的会员角色,user表示普通用户,admin表示管理员,同时支持自定义分组
assign_userStringOptaionMAX: 32授权的用户,对应小白会员的UUID
menu_keyStringRequiredMAX: 255客户端软件应用的菜单项,可以是菜单、URL或者其他,用于程序判断

API Debug

KEYREQUIREDVALUE
app_key *Required
user_role Option
assign_user Option
menu_key *Required

API Response

KEYTypeDescription
err_codeInt操作状态码,0成功,9插件表单未安装
err_msgString错误提示信息,err_code非0时参考此提示信息

HTTP Response Code

HTTP Status CodeDescription
Http Status = 200Success
Http Status = 400Illegal-Params
Http Status = 401Illegal-Token
Http Status = 402IP-Banned
Http Status = 404API-NOT-Exsits
Http Status = 406Illegal-APPKEY
Http Status = 407APPKEY-Expired-Out
Http Status = 408APPKEY-Busy
Http Status = 409Illegal-Sign
Http Status = 413API-Traffic-NOT-Enough
Http Status = 415API-LOCKED
Http Status = 500Internal-Server-Error