Bind the subscriber to this session's device
POST
/api/v1/admin/sessions/{id}/lock-mac
prm_users_mac_lock
Writes the session's calling-station MAC into the subscriber's locked-MAC list. From the next authentication onward only that device may connect. The current session is left up, since it already uses the locked MAC.
This endpoint also turns the lock ON, which the subscriber PATCH does not. Writing mac_locked_addrs through PATCH /users/{id} without setting mac_lock_enabled stores a list that enforces nothing.
نظرة سريعة
- المصادقة
- رمز موظّف أو جلسة
- تتطلب صلاحية
-
prm_users_mac_lockLock user MAC - حد المعدل
t_mutate
المعاملات
| المعامل | الوصف |
|---|---|
idمطلوب
path · integer
|
Session id. |
الأخطاء
| الرمز | متى تُرجَع |
|---|---|
ERR_VALIDATION422
|
the session has no owning subscriber, so there is no record to lock |