BigPanda Roles & Permissions API

Roles, role membership and the permission catalog that decides what a User API Key can do.

Operations 12

POST /resources/v2.1/roles/{role_id}/users Add users to role #
DELETE /resources/v2.1/roles/{role_id}/users Delete Users #
POST /resources/v2.1/roles Create a Role #
GET /resources/v2.1/roles Retrieve All Roles #
DELETE /resources/v2.1/roles/{role_id} Delete a Role #
GET /resources/v2.1/roles/{role_id} Retrieve Role by ID #
PATCH /resources/v2.1/roles/{role_id} Update Role #
PUT /resources/v2.1/roles/{role_id} Update a Role #
GET /roles Retrieve All Roles #
GET /roles/{roleId}/users Retrieve All Users Associated with a Role #
GET /roles/{roleId} Retrieve a Role #
GET /resources/v2.1/permissions Retrieve all permissions #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/bigpanda-roles-permissions-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

bigpanda-roles-permissions-api-openapi.yml Raw ↑
openapi: 3.0.3
info:
  title: BigPanda Roles & Permissions API
  description: BigPanda Roles & Permissions operations, assembled verbatim from the OpenAPI fragments BigPanda publishes on
    its own API reference at https://api-docs.bigpanda.io/. Each operation carries x-source-url naming the exact provider
    page it was read from. BigPanda hosts each organization in a single data management region (US or EU); send requests to
    the base URL for your region.
  version: 1.0.0
  contact:
    name: BigPanda Support
    url: https://api-docs.bigpanda.io/
  license:
    name: Proprietary
    url: https://www.bigpanda.io/legal/
  x-provenance:
    method: searched
    source: https://api-docs.bigpanda.io/llms.txt
    harvested: '2026-09-04'
    assembly: 'Operations copied verbatim from the per-endpoint OpenAPI 3.0.1 fragments BigPanda publishes at https://api-docs.bigpanda.io/<endpoint>.md.
      Assembly-only normalizations: Apidog x-apidog security metadata stripped, securityScheme type "bearer" corrected to
      type http/scheme bearer, schema name collisions suffixed. No operation, parameter, schema or response was authored by
      API Evangelist.'
    operations: 12
servers:
- url: https://api.bigpanda.io
  description: US Region
- url: https://api.eu.bigpanda.io
  description: EU Region
tags:
- name: Roles & Permissions
paths:
  /resources/v2.1/roles/{role_id}/users:
    post:
      summary: Add users to role
      deprecated: false
      description: Assign one or more users to a role in a single call. Use for bulk role membership changes when onboarding
        a team.
      operationId: postRoleUsers
      tags:
      - Roles & Permissions
      parameters:
      - name: role_id
        in: path
        description: ''
        required: true
        example: ''
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              type: array
              uniqueItems: true
              minItems: 1
              items:
                $ref: '#/components/schemas/id-v1'
            examples: {}
      responses:
        '201':
          x-apidog-ordering: 0
          description: OK
          content:
            application/json:
              schema:
                allOf:
                - type: object
                  additionalProperties: true
                  description: 'Schema pending: definition lives in unbundled source-repo files. Replace once the bundled
                    spec is provided.'
                  x-apidog-orders: []
                  properties: {}
                  x--orders: []
                  x--ignore-properties: []
                - $ref: '#/components/schemas/success-response-v1'
          headers: {}
          x-apidog-name: ''
        '400':
          x-apidog-ordering: 1
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error-response-v1'
          headers: {}
          x-apidog-name: ''
        '401':
          x-apidog-ordering: 2
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error-response-v1'
          headers: {}
          x-apidog-name: ''
        '404':
          x-apidog-ordering: 3
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error-response-v1'
          headers: {}
          x-apidog-name: ''
        '500':
          x-apidog-ordering: 4
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error-response-v1'
          headers: {}
          x-apidog-name: ''
      x-schema-pending: true
      x-run-in-apidog: https://app.apidog.com/web/project/1203004/apis/api-38345847-run
      x-source-url: https://api-docs.bigpanda.io/add-users-to-role-38345847e0.md
      x-source-page: Add users to role
    delete:
      summary: Delete Users
      deprecated: false
      description: Remove one or more users from a role in a single call.
      operationId: deleteRoleUsers
      tags:
      - Roles & Permissions
      parameters:
      - name: role_id
        in: path
        description: ''
        required: true
        example: ''
        schema:
          type: string
      responses:
        '200':
          x-apidog-ordering: 0
          description: OK
          content:
            application/json:
              schema:
                allOf:
                - type: object
                  additionalProperties: true
                  description: 'Schema pending: definition lives in unbundled source-repo files. Replace once the bundled
                    spec is provided.'
                  x-apidog-orders: []
                  properties: {}
                  x--orders: []
                  x--ignore-properties: []
                - $ref: '#/components/schemas/success-response-v1'
          headers: {}
          x-apidog-name: ''
        '400':
          x-apidog-ordering: 1
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error-response-v1'
          headers: {}
          x-apidog-name: ''
        '401':
          x-apidog-ordering: 2
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error-response-v1'
          headers: {}
          x-apidog-name: ''
        '404':
          x-apidog-ordering: 3
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error-response-v1'
          headers: {}
          x-apidog-name: ''
        '500':
          x-apidog-ordering: 4
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error-response-v1'
          headers: {}
          x-apidog-name: ''
      x-schema-pending: true
      x-run-in-apidog: https://app.apidog.com/web/project/1203004/apis/api-38345848-run
      x-source-url: https://api-docs.bigpanda.io/delete-users-38345848e0.md
      x-source-page: Delete Users
  /resources/v2.1/roles:
    post:
      summary: Create a Role
      deprecated: false
      description: "Creates a new role.\n\n## System fields\nSystem fields (​​id​​, ​created_by​​, ​created_at​​, and ​updated_at​​)\
        \ will be set automatically. If included in the Create payload, these fields will be discarded.\n\n## Authentication\n\
        All BigPanda APIs require Bearer Token Authorization in the call headers.\nThis API uses the User API Key type of\
        \ Authorization token. Your User API Key must be provided in the header, prefixed by the word `Bearer`.\n\nExample:\n\
        `Authorization: Bearer [YOUR_USER_API_KEY]`\n\n## resource_type\nFor a full list of available resource_types, see\
        \ the [Roles Management](https://docs.bigpanda.io/en/roles-management.html#roles-and-resource-permissions) documentation.\
        \ \n"
      operationId: create-a-role
      tags:
      - Roles & Permissions
      parameters: []
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/role_object'
      responses:
        '201':
          x-apidog-ordering: 0
          description: '201'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/role'
          headers: {}
          x-apidog-name: ''
      security:
      - BearerUser131: []
      x-publication-status: live
      x-run-in-apidog: https://app.apidog.com/web/project/1203004/apis/api-37770124-run
      x-source-url: https://api-docs.bigpanda.io/create-a-role-37770124e0.md
      x-source-page: Create a Role
    get:
      summary: Retrieve All Roles
      deprecated: false
      description: 'The Roles API is a tool to help you manage user roles in the BigPanda system, enabling you to bulk manage
        even large and complex permissions.


        Use the Roles API to create, retrieve, update, and delete roles from the BigPanda UI.


        ## Authentication

        All BigPanda APIs require Bearer Token Authorization in the call headers.

        This API uses the User API Key type of Authorization token. Your User API Key must be provided in the header, prefixed
        by the word `Bearer`.


        Example:

        `Authorization: Bearer [YOUR_USER_API_KEY]`

        '
      operationId: retrieve-all-roles
      tags:
      - Roles & Permissions
      parameters:
      - name: page
        in: query
        description: Which set of results to return.
        required: false
        example: 0
        schema:
          type: integer
          default: 1
          examples:
          - 4
      - name: per_page
        in: query
        description: Number of results to show for each page.
        required: false
        example: 0
        schema:
          type: integer
          default: 20
          examples:
          - 30
      - name: direction
        in: query
        description: The direction to sort results by
        required: false
        example: ''
        schema:
          type: string
          default: desc or asc
      - name: sort
        in: query
        description: 'The field to sort results by. One of `id`, `name`, `created_at`.

          '
        required: false
        example: ''
        schema:
          type: string
      responses:
        '200':
          x-apidog-ordering: 0
          description: '200'
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/role'
          headers: {}
          x-apidog-name: ''
      security:
      - BearerUser131: []
      x-publication-status: live
      x-run-in-apidog: https://app.apidog.com/web/project/1203004/apis/api-37770123-run
      x-source-url: https://api-docs.bigpanda.io/retrieve-all-roles-37770123e0.md
      x-source-page: Retrieve All Roles
  /resources/v2.1/roles/{role_id}:
    delete:
      summary: Delete a Role
      deprecated: false
      description: 'Deletes a role from the system.


        ## Authentication

        All BigPanda APIs require Bearer Token Authorization in the call headers.

        This API uses the User API Key type of Authorization token. Your User API Key must be provided in the header, prefixed
        by the word `Bearer`.


        Example:

        `Authorization: Bearer [YOUR_USER_API_KEY]`

        '
      operationId: delete-a-role
      tags:
      - Roles & Permissions
      parameters:
      - name: role_id
        in: path
        description: System id for the role in BigPanda.
        required: true
        example: ''
        schema:
          type: string
          examples:
          - 134g134y264
      responses:
        '204':
          x-apidog-ordering: 0
          description: '204'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/generic204response'
          headers: {}
          x-apidog-name: ''
      security:
      - BearerUser131: []
      x-publication-status: live
      x-run-in-apidog: https://app.apidog.com/web/project/1203004/apis/api-37770127-run
      x-source-url: https://api-docs.bigpanda.io/delete-a-role-37770127e0.md
      x-source-page: Delete a Role
    get:
      summary: Retrieve Role by ID
      deprecated: false
      description: 'Retrieves a specific role.


        ## Authentication

        All BigPanda APIs require Bearer Token Authorization in the call headers.

        This API uses the User API Key type of Authorization token. Your User API Key must be provided in the header, prefixed
        by the word `Bearer`.


        Example:

        `Authorization: Bearer [YOUR_USER_API_KEY]`

        '
      operationId: retrieve-role-by-id
      tags:
      - Roles & Permissions
      parameters:
      - name: role_id
        in: path
        description: System id for the role in BigPanda.
        required: true
        example: ''
        schema:
          type: string
          examples:
          - 134g134y264
      responses:
        '200':
          x-apidog-ordering: 0
          description: '200'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/role'
          headers: {}
          x-apidog-name: ''
      security:
      - BearerUser131: []
      x-publication-status: live
      x-run-in-apidog: https://app.apidog.com/web/project/1203004/apis/api-37770125-run
      x-source-url: https://api-docs.bigpanda.io/retrieve-role-by-id-37770125e0.md
      x-source-page: Retrieve Role by ID
    patch:
      summary: Update Role
      deprecated: false
      description: Update a role's properties or permissions in place. Use PUT to replace the role definition entirely.
      operationId: updateRoleById
      tags:
      - Roles & Permissions
      parameters:
      - name: role_id
        in: path
        description: ''
        required: true
        example: ''
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              type: object
              additionalProperties: true
              description: 'Schema pending: full definition lives in the users-api source repo (multi-file refs not bundled).
                Replace once the bundled spec is provided.'
              x-apidog-orders: []
              properties: {}
      responses:
        '200':
          x-apidog-ordering: 0
          description: role updated
          content:
            application/json:
              schema:
                allOf:
                - type: object
                  additionalProperties: true
                  description: 'Schema pending: full definition lives in the users-api source repo (multi-file refs not bundled).
                    Replace once the bundled spec is provided.'
                  x-apidog-orders: []
                  properties: {}
                - type: object
                  additionalProperties: true
                  description: 'Schema pending: full definition lives in the users-api source repo (multi-file refs not bundled).
                    Replace once the bundled spec is provided.'
                  x-apidog-orders: []
                  properties: {}
          headers: {}
          x-apidog-name: ''
        '400':
          x-apidog-ordering: 1
          description: Bad request
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                description: 'Schema pending: full definition lives in the users-api source repo (multi-file refs not bundled).
                  Replace once the bundled spec is provided.'
                x-apidog-orders: []
                properties: {}
          headers: {}
          x-apidog-name: ''
        '401':
          x-apidog-ordering: 2
          description: Unauthorized
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                description: 'Schema pending: full definition lives in the users-api source repo (multi-file refs not bundled).
                  Replace once the bundled spec is provided.'
                x-apidog-orders: []
                properties: {}
          headers: {}
          x-apidog-name: ''
        '404':
          x-apidog-ordering: 3
          description: Not found
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                description: 'Schema pending: full definition lives in the users-api source repo (multi-file refs not bundled).
                  Replace once the bundled spec is provided.'
                x-apidog-orders: []
                properties: {}
          headers: {}
          x-apidog-name: ''
        '500':
          x-apidog-ordering: 4
          description: Internal server error
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                description: 'Schema pending: full definition lives in the users-api source repo (multi-file refs not bundled).
                  Replace once the bundled spec is provided.'
                x-apidog-orders: []
                properties: {}
          headers: {}
          x-apidog-name: ''
      x-schema-pending: true
      x-run-in-apidog: https://app.apidog.com/web/project/1203004/apis/api-38345846-run
      x-source-url: https://api-docs.bigpanda.io/update-role-38345846e0.md
      x-source-page: Update Role
    put:
      summary: Update a Role
      deprecated: false
      description: 'You are able to update name, users, and permissions in a single call.


        Any differences between the existing role and fields in the Update call will be applied. This includes incomplete
        parameters.


        The full list of users and permissions must be included in each update call. For example, if a role has eight permissions
        and only one is included in the call, the role will be updated to only have the one permission.


        ## Authentication

        All BigPanda APIs require Bearer Token Authorization in the call headers.

        This API uses the User API Key type of Authorization token. Your User API Key must be provided in the header, prefixed
        by the word `Bearer`.


        Example:

        `Authorization: Bearer [YOUR_USER_API_KEY]`

        '
      operationId: update-a-role
      tags:
      - Roles & Permissions
      parameters:
      - name: role_id
        in: path
        description: System id for the role in BigPanda.
        required: true
        example: ''
        schema:
          type: string
          examples:
          - 134g134y264
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/role_object'
      responses:
        '200':
          x-apidog-ordering: 0
          description: '200'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/role'
          headers: {}
          x-apidog-name: ''
      security:
      - BearerUser131: []
      x-publication-status: live
      x-run-in-apidog: https://app.apidog.com/web/project/1203004/apis/api-37770126-run
      x-source-url: https://api-docs.bigpanda.io/update-a-role-37770126e0.md
      x-source-page: Update a Role
  /roles:
    get:
      summary: Retrieve All Roles
      deprecated: false
      description: "Retrieve all of your organization's roles and associated permissions. \n\n> \U0001F6A7 **Authentication**\n\
        > \n> All BigPanda APIs require Bearer Token Authorization in the call headers.\n>\n> This API uses the User API Key\
        \ type of Authorization token.\n\n> \U0001F4D8 **Required permissions**\n>\n>  Your account must have the `Role Management`\
        \ permission set to `View` to use this endpoint.\n\n> ❗ **Rate limitations**\n> \n> To maintain quality of service,\
        \ the Biggy API is limited to 100 requests per minute. Additional requests will return a 429 response code and the\
        \ request will need to be retried."
      operationId: get-all-roles
      tags:
      - Roles & Permissions
      parameters: []
      responses:
        '200':
          x-apidog-ordering: 0
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  roles:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                          description: Unique identifier of the role.
                        name:
                          type: string
                          description: Name of the role.
                        type:
                          type: string
                          description: Role type.
                        permissions:
                          type: array
                          items:
                            type: object
                            properties:
                              resourceType:
                                type: string
                                description: Type of resource the permission grants access to.
                              resourceName:
                                type: string
                                description: Name of the resource the permission grants access to.
                              actions:
                                type: array
                                items:
                                  type: string
                                description: Actions users who have this permission can perform. (i.e., view, edit.)
                            x-apidog-orders:
                            - resourceType
                            - resourceName
                            - actions
                          description: Permissions associated with the role.
                        createdAt:
                          type: string
                          description: ISO date-time when the role was created.
                        updatedAt:
                          type: string
                          description: ISO date-time when the role was last updated.
                      x-apidog-orders:
                      - id
                      - name
                      - type
                      - permissions
                      - createdAt
                      - updatedAt
                required:
                - roles
                x-apidog-orders:
                - roles
              example:
                roles:
                - id: 65f0c8f8d73b2b0012ab1111
                  name: System Admin
                  type: system
                  permissions:
                  - resourceType: user_mgmt
                    resourceName: '*'
                    actions:
                    - view
                    - edit
                  - resourceType: role_mgmt
                    resourceName: '*'
                    actions:
                    - view
                    - edit
                  - resourceType: audit_logs
                    resourceName: '*'
                    actions:
                    - view
                  createdAt: '2025-01-01T00:00:00.000Z'
                  updatedAt: '2025-01-01T00:00:00.000Z'
                - id: 65f0c8f8d73b2b0012ab3333
                  name: Standard User
                  type: system
                  permissions:
                  - resourceType: action_plan_execution
                    resourceName: '*'
                    actions:
                    - execute
                  - resourceType: source_category
                    resourceName: '*'
                    actions:
                    - view
                  createdAt: '2025-01-01T00:00:00.000Z'
                  updatedAt: '2025-01-01T00:00:00.000Z'
          headers: {}
          x-apidog-name: ''
        '403':
          x-apidog-ordering: 1
          description: ''
          content:
            application/json:
              schema:
                title: ''
                type: object
                properties:
                  statusCode:
                    type: integer
                    examples:
                    - 403
                  error:
                    type: string
                    examples:
                    - Forbidden
                  message:
                    type: string
                    examples:
                    - Forbidden - insufficient permissions
                x-apidog-orders:
                - statusCode
                - error
                - message
          headers: {}
          x-apidog-name: ''
      security:
      - BearerUser11: []
      x-publication-status: live
      x-run-in-apidog: https://app.apidog.com/web/project/1203004/apis/api-37904805-run
      x-source-url: https://api-docs.bigpanda.io/retrieve-all-roles-37904805e0.md
      x-source-page: Retrieve All Roles
  /roles/{roleId}/users:
    get:
      summary: Retrieve All Users Associated with a Role
      deprecated: false
      description: "Retrieve all users associated with a specific role. \n\n> \U0001F6A7 **Authentication**\n> \n> All BigPanda\
        \ APIs require Bearer Token Authorization in the call headers.\n>\n> This API uses the User API Key type of Authorization\
        \ token.\n\n> \U0001F4D8 **Required permissions**\n>\n>  Your account must have the `Role Management` permission set\
        \ to `View` to use this endpoint.\n\n> ❗ **Rate limitations**\n> \n> To maintain quality of service, the Biggy API\
        \ is limited to 100 requests per minute. Additional requests will return a 429 response code and the request will\
        \ need to be retried."
      operationId: get-all-users-for-role
      tags:
      - Roles & Permissions
      parameters:
      - name: roleId
        in: path
        description: 'Unique identifier of an AI Incident Assistant role. '
        required: true
        example: 65f0c8f8d73b2b0012ab1123
        schema:
          type: string
      responses:
        '200':
          x-apidog-ordering: 0
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  role:
                    type: object
                    properties:
                      id:
                        type: string
                        description: Unique identifier of the role.
                      name:
                        type: string
                        description: 'Name of the role. '
                    x-apidog-orders:
                    - id
                    - name
                  users:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                          description: Unique identifier of the user account.
                        fullName:
                          type: string
                          description: Full name of the user.
                        email:
                          type: string
                          description: Email address of the user.
                        title:
                          type: string
                          description: User's job title.
                        avatar:
                          type: string
                          description: User's avatar.
                        roles:
                          type: array
                          items:
                            type: string
                          description: Roles associated with the user.
                      x-apidog-orders:
                      - id
                      - fullName
                      - email
                      - title
                      - avatar
                      - roles
                required:
                - role
                - users
                x-apidog-orders:
                - role
                - users
              example:
                role:
                  id: 65f0c8f8d73b2b0012ab1111
                  name: System Admin
                users:
                - id: 65f0c8f8d73b2b0012ab3456
                  fullName: Jane Doe
                  email: jane@example.com
                  title: SRE
                  avatar: null
                  roles:
                  - 65f0c8f8d73b2b0012ab1111
          headers: {}
          x-apidog-name: ''
        '403':
          x-apidog-ordering: 1
          description: ''
          content:
            application/json:
              schema:
                title: ''
                type: object
                properties:
                  statusCode:
                    type: integer
                    examples:
                    - 403
                  error:
                    type: string
                    examples:
                    - Forbidden
                  message:
                    type: string
                    examples:
                    - Forbidden - insufficient permissions
                x-apidog-orders:
                - statusCode
                - error
                - message
          headers: {}
          x-apidog-name: ''
      security:
      - BearerUser11: []
      x-publication-status: live
      x-run-in-apidog: https://app.apidog.com/web/project/1203004/apis/api-37904806-run
      x-source-url: https://api-docs.bigpanda.io/retrieve-all-users-associated-with-a-role-37904806e0.md
      x-source-page: Retrieve All Users Associated with a Role
  /roles/{roleId}:
    get:
      summary: Retrieve a Role
      deprecated: false
      description: "Retrieve a single role and associated permissions by Role ID. \n\n> \U0001F6A7 **Authentication**\n> \n\
        > All BigPanda APIs require Bearer Token Authorization in the call headers.\n>\n> This API uses the User API Key type\
        \ of Authorization token.\n\n> \U0001F4D8 **Required permissions**\n>\n>  Your account must have the `Role Management`\
        \ permission set to `View` to use this endpoint.\n\n> ❗ **Rate limitations**\n> \n> To maintain quality of service,\
        \ the Biggy API is limited to 100 requests per minute. Additional requests will return a 429 response code and the\
        \ request will need to be retried."
      operationId: get-a-role
      tags:
      - Roles & Permissions
      parameters:
      - name: roleId
        in: path
        description: Unique identifier of an AI Incident Assistant role.
        required: true
        example: 65f0c8f8d73b2b0012ab1123
        schema:
          type: string
      responses:
        '200':
          x-apidog-ordering: 0
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  role:
                    type: object
                    properties:
                      id:
                        type: string
                      name:
                        type: string
                      type:
                        type: string
                      permissions:
                        type: object
                        properties:
                          resourceType:
                            type: string
                          resourceName:
                            type: string
                          actions:
                            type: array
                            items:
                              type: string
                        x-apidog-orders:
                        - resourceType
                        - resourceName
                        - actions
                      createdAt:
                        type: string
                      updatedAt:
                        type: string
                    x-apidog-orders:
                    - id
                    - name
                    - type
                    - permissions
                    - createdAt
                    - updatedAt
                required:
                - role
                x-apidog-orders:
                - role
              example:
                role:
                  id: 65f0c8f8d73b2b0012ab1111
                  name: System Admin
                  type: system
                  permissions:
                  - resourceType: user_mgmt
                    resourceName: '*'
                    actions:
                    - view
                    - edit
                  createdAt: '2025-01-01T00:00:00.000Z'
                  updatedAt: '2025-01-01T00:00:00.000Z'
          headers: {}
          x-apidog-name: ''
        '403':
          x-apidog-ordering: 1
          description

# --- truncated at 32 KB (42 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/bigpanda/refs/heads/main/openapi/bigpanda-roles-permissions-api-openapi.yml