Update a subscriber

PATCH /api/v1/users/{id} prm_users_update

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

Partial update. An omitted field is left alone. Three fields are separately permission-gated and are dropped silently rather than refused when the caller lacks the right: parent_id, profile_id and expiration.

A stored mac_locked_addrs list is inert until mac_lock_enabled is true. Writing the list alone locks nothing, which reads on screen like the lock silently failed. Set both.

نظرة سريعة

المصادقة
رمز موظّف أو جلسة
تتطلب صلاحية
prm_users_update Edit users
حد المعدل
t_mutate

المعاملات

المعامل الوصف
idمطلوب path · integer Subscriber id.
form_name body · string Which custom-field schema to validate custom_fields against. Defaults to the user form.

الأخطاء

الرمز متى تُرجَع
ERR_VALIDATION400 bad expiration, unassignable or inactive plan, invalid allowed_services, a value Postgres itself refuses
ERR_NOT_FOUND404 no such subscriber, or one outside the caller's subtree

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

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