> ## Documentation Index
> Fetch the complete documentation index at: https://docs.devinenterprise.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Verfügbare Rollen auflisten

> Alle Rollen auflisten, die im Enterprise-Konto des Benutzers verfügbar sind

Erfordert einen persönlichen API key eines Enterprise-Administrators.

Gibt eine Liste aller Rollen zurück, die in Ihrem Enterprise-Konto verfügbar sind, einschließlich Rollen auf Enterprise- und Organisationsebene. Jede Rolle enthält ihre eindeutige Kennung, ihren Anzeigenamen und ihren Typ.


## OpenAPI

````yaml de/v2-openapi.yaml GET /v2/enterprise/roles
openapi: 3.1.0
info:
  description: Devin v2 API mit persönlichen API Keys für Enterprise-Admins
  title: Devin API v2
  version: 2.0.0
servers: []
security:
  - bearerAuth: []
paths:
  /v2/enterprise/roles:
    get:
      tags:
        - roles
      summary: Enterprise-Rollen-Endpunkt
      description: >-
        Listen Sie alle Rollen auf, die in der Enterprise-Organisation des
        Benutzers verfügbar sind.

        Geben Sie für jede Rolle die Werte role_id, role_name und role_type an.
      operationId: enterprise_roles_endpoint_v2_enterprise_roles_get
      responses:
        '200':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/RoleResponse'
                title: Response Enterprise Roles Endpoint V2 Enterprise Roles Get
                type: array
          description: Erfolgreiche Antwort
components:
  schemas:
    RoleResponse:
      properties:
        role_id:
          title: Role Id
          type: string
        role_name:
          title: Role Name
          type: string
        role_type:
          title: Role Type
          type: string
      required:
        - role_id
        - role_name
        - role_type
      title: RoleResponse
      type: object
  securitySchemes:
    bearerAuth:
      description: Persönlicher API Key (apk_user_*) nur für Enterprise-Administratoren
      scheme: bearer
      type: http

````