Skip to main content
GET
يحصل على دور واحد (مستوى وصول) على مضيف Management API (‏api.scanova.io)، مع المصادقة باستخدام مفتاح Management API الخام الخاص بك.
integer
مطلوب
معرّف id الخاص بالدور، من سرد الأدوار.
نطاق الرؤية: أدوار الحساب المخصصة الخاصة به، بالإضافة إلى جميع الأدوار النظامية (‏is_custom: false‏) — الأدوار النظامية مشتركة بين جميع الحسابات، وليست مقصورة على هذا الحساب فقط.

ذات صلة

التفويضات

Authorization
string
header
مطلوب

Send your Management API key as the raw value of the Authorization header — no "Bearer " or "Token " prefix, and no other characters. Example: Authorization: 401f7ac837da42b97f613d789819ff93537bee6a. A header containing more than one space-separated part is rejected outright. Requests also require the request's Host header to be the management API host (e.g. api.scanova.io) — the same key sent to the regular API host will not authenticate.

معلمات المسار

pk
integer
مطلوب

الاستجابة

One role, with its permission set. Visible: the account's own custom roles, plus every system role.