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

# List

> Retrieves all roles that can be granted to employee and integration resources.

<Warning>This endpoint is in preview: it may change without notice until it becomes part of a stable version.</Warning>


## OpenAPI

````yaml preview post /api/security/roles.list
openapi: 3.1.0
info:
  title: tipee
  version: preview
servers: []
security:
  - basicAuth: []
tags:
  - name: Activity
    description: Activity
  - name: Balances
    description: Balances
  - name: Directory
    description: Directory
  - name: Schedule
    description: Schedule
  - name: Security
    description: Security
  - name: Timeclock
    description: Timeclock
paths:
  /api/security/roles.list:
    post:
      tags:
        - Security
      summary: List
      description: >-
        Retrieves all roles that can be granted to employee and integration
        resources.
      operationId: post_app_ui_api_security_permissionquery_listroles
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ListRolesQuery'
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/RoleView'
components:
  schemas:
    ListRolesQuery:
      type: object
    RoleView:
      required:
        - id
        - label
        - description
        - enabled
      properties:
        id:
          $ref: '#/components/schemas/Snowflake'
        label:
          $ref: '#/components/schemas/TranslatedString'
        description:
          type:
            - string
            - 'null'
        enabled:
          type: boolean
      type: object
    Snowflake:
      type: string
      format: snowflake
      example: '872815618512410358'
    TranslatedString:
      properties:
        fr:
          type: string
        en:
          type: string
        de:
          type: string
      type: object
      example:
        en: Hello
        fr: Bonjour
        de: Guten Tag

````