Disconnect a session

POST /api/v1/admin/sessions/{id}/disconnect prm_users_live_traffic

اعرض الصفحة بصيغة Markdown

Sends an RFC 5176 Disconnect-Request straight from this platform to the NAS that owns the session. The packet goes out over UDP to the device, not through the RADIUS server.

ok true means the NAS ACCEPTED the packet, not that the subscriber is off the network. Whether the session actually ends is up to the device, and it will be reflected in accounting a moment later. nak true is also a success from your point of view: the NAS replied "no such session", so it is already gone. Only a 502 means the disconnect did not happen.

نظرة سريعة

المصادقة
رمز موظّف أو جلسة
تتطلب صلاحية
prm_users_live_traffic Live traffic / disconnect
حد المعدل
t_mutate

المعاملات

المعامل الوصف
idمطلوب path · integer Session id.

الأخطاء

الرمز متى تُرجَع
ERR_NOT_FOUND404 no such session, or one outside the caller's subtree
ERR_INTERNAL502 the NAS did not answer, or the exchange failed. details.reason carries the transport error
ERR_INTERNAL503 no CoA dispatcher is wired in this deployment

جرّبه على شبكتك.

50 مشترك لمدة 7 أيام، من غير ما تدفع حاجة.