1. Roles & Permissions
FlightHub 2 OpenAPI V2.0 (Public Cloud)
  • FlightHub 2 OpenAPI V2.0
    • Usage Guide
      • Authentication Tutorial
      • Error Code
    • Common
      • Common Tutorial
      • System Health & Access
        • Query FlightHub 2 System Status
        • Query System Health Status
        • Get Project Storage Upload STS Credentials
      • Security
        • SN Decrypt Echo
    • Organization & Project
      • Organization & Project Tutorial
      • Members & Permissions Management
        • Project Members
          • Add Members to Project
          • Get Project User List
          • Get Project Independent Member List
        • Organization Members
          • Get Organization User List
          • Get Current User's Organization Role
        • Roles & Permissions
          • Get Role List
            GET
          • Get Permission List
            GET
          • Get Role Permissions
            GET
      • Project Management
        • Project Collaboration
          • Get Project Quick-Join Information
        • Project Configuration
          • Get Auto Recording Config
        • Project Basic Info
          • Get Project List Under Organization
      • Organization Management
        • Organization Basic Info
          • Get Organization List
          • Get Organization Details
    • Device Management
      • Device Management Tutorial
      • Device List Management
        • Device List (Organization Scope)
          • Get Device List Under Organization
        • Device List (Project Scope)
          • Get Project Device Details
          • Get Project Device List
          • Update Device's Bound Project
          • Get Project Device History Topology
      • Device Configuration
        • Calibration & Positioning
          • Custom Network RTK Calibration
        • Pairing Management
          • Query Relay Pairing Result
          • Make Device Enter Relay Pairing Mode
      • Get HMS Information
      • Acquire Control Permission
      • Release Control Permission
      • Live View Quality Settings
      • Get Thing Model
    • Real-time Control
      • Real-time Control Tutorial
      • Control Permission Management
        • Device Control Permission
          • Query Device Control Status (Organization Device )
          • Query Device Control Status (Project Device)
        • Cloud Control Permission
          • Get Cloud Control Status
      • Payload Control
        • Camera Control
          • Aircraft Lens Switch
          • Dock Camera Switch
      • Flight Control Commands
        • General Real-time Commands
          • Query Device Command Execution
          • Send Real-time Control Command
      • Takeoff/Landing Coordination
        • Query Takeoff/Landing Coordination Area (TCA) Real-time Status
    • Livestream
      • Livestream Tutorial
      • Query Recording Tasks
        • Get Recording Tasks for Project Device
        • Get Recording Tasks for Organization Device
      • Livestream Sharing & Forwarding
        • Bypass Streaming
          • Create Stream Converter
          • Get Stream Converter List
          • Delete Stream Converter
          • Enable/Disable Stream Converter
        • Livestream Sharing
          • Get Device Livestream Share Details
          • Get Device Livestream Share List
      • Livestream Push
        • Start Livestream
    • Flight Task
      • Flight Task Tutorial
      • AI Flight Alerts
        • Query Flight Task Alert Records
        • Query AI Alert Records
      • Task Creation
        • Check Whether Flight Task Meets Dispatch Conditions
        • Create Flight Task
        • Resumable Immediate Task
      • Task Query
        • Get Recent Flight Task List
        • Get Default Task Name on Creation
        • Get Flight Task List
        • Get Flight Task Track Information
        • Get Wayline Task Details
        • Get Flight Task Information
        • Get Flight Task List
        • Get Media Resources from Flight Task
      • Flight Record
        • Get Export History
        • Get Single Flight Record Download Link
        • Get Wayline Task Operation Log
      • Task Update
        • Update Flight Task Status
    • Wayline
      • Wayline Tutorial
      • Wayline Management
        • Wayline Query
          • Get Wayline Details
          • Get Wayline List Under Project
        • Wayline Upload
          • Wayline Upload Completion Notification
    • Map
      • Map Tutorial
      • Map Annotation
        • Annotation Creation
          • Create Map Annotation
        • Annotation Update
          • Annotation Update
        • Annotation Deletion
          • Annotation Deletion
      • Airspace Safety
        • Terrain Obstacles
          • Get Offline Map URL
          • Get Offline Map Details
        • Custom Flight Area
          • Get Flight Area List (Workspace Scope)
          • Get Flight Area File URL
          • Get Flight Area List (Project Scope)
      • Airspace Warning
        • Airspace Warning
    • Model Reconstruction
      • Model Reconstruction Tutorial
      • Get Project Model List
      • Model Reconstruction
      • Get Model Details
      • Get Model File Download Link
    • Open Modeling
      • Open Modeling Tutorial
      • Start Reconstruction Task
      • Get Model Details
      • Delete Model
      • Stop Reconstruction Task
      • Get Resource Details
      • Delete Resource
      • Get Upload Credentials
      • Upload Callback
      • Get In-Progress Reconstruction Model Details
  1. Roles & Permissions

Get Role List

GET
/openapi/v2.0/organizations/{uuid}/roles
Get all project-level custom roles of this organization plus globally non-project-joined preset roles, for the role management page

Request

Path Params

Query Params

Header Params

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location '/openapi/v2.0/organizations/105ddd05-34ce-46b6-a872-cb32b8c98f64/roles?type=project&page=1&page_size=20' \
--header 'X-User-Token: {{X-User-Token}}' \
--header 'X-Request-Id: {{$string.uuid}}' \
--header 'X-Request-Id: {{$string.uuid}}' \
--header 'X-Language: zh' \
--header 'X-Language: zh'

Responses

🟢200
application/json
Business success (see 'Response Example' in the Markdown documentation for specific data)
Bodyapplication/json

Example
{
    "code": 0,
    "message": "OK",
    "data": {
        "pagination": {
            "page": 1,
            "page_size": 20,
            "total": 50
        },
        "list": [
            {
                "role_id": "project-commander",
                "role_name": "Project Administrator",
                "role_description": "",
                "workspace_id": "",
                "is_preset": true,
                "is_add_to_org": false,
                "role_type": "project",
                "is_name_use_i18n": true,
                "is_remark_use_i18n": true,
                "created_at": "2026-05-11T12:16:43.314Z",
                "updated_at": "2026-05-11T12:16:46.549Z",
                "deleted_at": null,
                "permissions": [
                    {
                        "permission_id": "analysis-management",
                        "permission_name": "Analyzer",
                        "permission_description": "",
                        "level": 1,
                        "is_visible": false,
                        "is_basic_permission": false,
                        "path": "analysis-management",
                        "permission_type": "project",
                        "sequence": 73,
                        "created_at": "2026-05-11T12:16:44.805Z",
                        "updated_at": "2026-05-11T12:16:48.418Z",
                        "deleted_at": null,
                        "resources": null,
                        "frontend_resources": null,
                        "extended_resources": null,
                        "related_permissions": null
                    },
                    {
                        "permission_id": "analyzer-media-import",
                        "permission_name": "Analyzer Import Media Files",
                        "permission_description": "",
                        "level": 3,
                        "is_visible": true,
                        "is_basic_permission": false,
                        "path": "analyzer-media-import",
                        "permission_type": "organization",
                        "sequence": 21,
                        "created_at": "2026-05-11T12:16:44.538Z",
                        "updated_at": "2026-05-11T12:16:48.225Z",
                        "deleted_at": null,
                        "resources": null,
                        "frontend_resources": null,
                        "extended_resources": null,
                        "related_permissions": null
                    },
                    {
                        "permission_id": "custom-no-fly-zone-view",
                        "permission_name": "View Custom Flight Areas",
                        "permission_description": "",
                        "level": 4,
                        "is_visible": true,
                        "is_basic_permission": true,
                        "path": "flight-and-live/no-fly-zone-management/custom-no-fly-zone-management/custom-no-fly-zone-view",
                        "permission_type": "project",
                        "sequence": 21,
                        "created_at": "2026-05-11T12:16:44.659Z",
                        "updated_at": "2026-05-11T12:16:47.726Z",
                        "deleted_at": null,
                        "resources": null,
                        "frontend_resources": null,
                        "extended_resources": null,
                        "related_permissions": null
                    },
                    {
                        "permission_id": "data-view-and-management",
                        "permission_name": "Data Management",
                        "permission_description": "",
                        "level": 1,
                        "is_visible": false,
                        "is_basic_permission": false,
                        "path": "data-view-and-management",
                        "permission_type": "project",
                        "sequence": 45,
                        "created_at": "2026-05-11T12:16:44.714Z",
                        "updated_at": "2026-05-11T12:16:45.295Z",
                        "deleted_at": null,
                        "resources": null,
                        "frontend_resources": null,
                        "extended_resources": null,
                        "related_permissions": null
                    },
                    {
                        "permission_id": "device-management",
                        "permission_name": "Device Management",
                        "permission_description": "",
                        "level": 1,
                        "is_visible": true,
                        "is_basic_permission": false,
                        "path": "device-management",
                        "permission_type": "project",
                        "sequence": 3,
                        "created_at": "2026-05-11T12:16:44.61Z",
                        "updated_at": "2026-05-11T1
🟠401
🟠403
🔴500
Modified at 2026-05-26 14:32:15
Previous
Get Current User's Organization Role
Next
Get Permission List
Built with