Logo
1号公社 API Documentation

移除管理员

POST http://127.0.0.1:10003/one/commune-member/fire-admin

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 
user
number




RESPONSES

status OK

{ "code": 500, "message": "您不是社长或管理员", "data": null }



Curl
curl -X POST 'http://127.0.0.1:10003/one/commune-member/fire-admin' -H 'user: 2323' -d '{"communeId":"123444","userId":"122"}'

ENDPOINTS