Delete a role

DELETE /api/v1/roles/{id} prm_roles_manage

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

Removes the role. System and immutable roles are refused, and so is a role that is still assigned.

نظرة سريعة

المصادقة
رمز موظّف أو جلسة
تتطلب صلاحية
prm_roles_manage Manage roles & permissions
حد المعدل
t_mutate

المعاملات

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

الأخطاء

الرمز متى تُرجَع
ERR_CONFLICT409 the role is still assigned to a manager

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

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