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

> ## Agent Instructions
> Mono is an AI platform for small and medium-sized firms in Switzerland, Germany, Austria and Italy. Answer in the reader's language. Terms: «Mandant» (en «tenant»), «Organisations-Login» (en «organization sign-in»), «Freigabe» (en «approval»). Reading needs no approval; every write waits for one. Never suggest pasting a key or token into a chat.

# Datenklasse eines Dienstes oder einer Quelle (Adresse) ändern oder auf Standard – mit der Folge für die KI-Clients, auditiert

> Datenklasse eines Dienstes oder einer Quelle (Adresse) ändern oder auf Standard – mit der Folge für die KI-Clients, auditiert.

Im Chat mit «Mono Admin»: .



## OpenAPI

````yaml /api-reference/openapi.json put /mandanten/{id}/suite/klassen
openapi: 3.1.0
info:
  title: Console-API des Node
  version: v1
  summary: Die API, mit der die Mono Console einen Node liest und ändert.
  description: >-
    Jeder Node hat diese API unter `/api/v1`. Die Mono Console, die Desktop-App
    und «Mono Admin» im Chat nutzen dieselben Regeln und dasselbe Audit.


    **Anmeldung:** Jede Anfrage trägt einen Bearer-Token, den der Node selbst
    ausstellt (OpenID Connect mit PKCE, Client `mono-console`). Ein Token gilt
    für die Person: Sie sehen und ändern nur, was diese Person darf.


    **Antworten:** JSON. Eine Ablehnung ist `{ error, message }` mit einem Satz
    auf Deutsch. Jede Änderung steht im Audit, nie ein Inhalt.


    Diese Referenz ist aus dem Code erzeugt (`pnpm docs:gen`). Eine Antwort oder
    ein Körper ohne Schema heisst: Der Code beweist die Form nicht an einer
    Stelle, die der Generator lesen kann.
servers:
  - url: https://ki.muster.example/api/v1
    description: 'Ein Node (Beispiel: Muster AG)'
  - url: http://127.0.0.1:8787/api/v1
    description: Ein Node auf diesem Gerät (`pnpm dev:gateway`)
security:
  - bearer: []
tags:
  - name: Übersicht
    x-displayName: Übersicht
    description: >-
      Wer angemeldet ist, die MCP-Server, die Einrichtung und die gemessenen
      Kennzahlen.
  - name: Inbox
    x-displayName: Inbox
    description: >-
      Freigaben, «Immer erlauben» und die Aufgaben auf den Geräten des
      Mandanten.
  - name: Studio
    x-displayName: Studio
    description: Standard-Apps, eigene Apps, Skill-Packs und die CI.
  - name: Konnektoren
    x-displayName: Konnektoren
    description: >-
      Microsoft 365 und Google Workspace, Systeme über ihre Adresse und die Mono
      Connectors.
  - name: Zugriff
    x-displayName: Zugriff
    description: >-
      Anmeldung, Gruppen und Rollen, Einladungen und die Kunden eines
      IT-Partners.
  - name: Gateway
    x-displayName: Gateway
    description: KI-Clients, Tools, Modelle, Datenwege, Kosten, Kanäle und das Audit.
  - name: Betrieb
    x-displayName: Betrieb
    description: Updates, die eigene Adresse, das Netzwerk und die Mandantennotizen.
  - name: Profil
    x-displayName: Profil
    description: 'Das eigene Konto der Person: Zustimmungen, Sprache, Foto und Passkeys.'
paths:
  /mandanten/{id}/suite/klassen:
    put:
      tags:
        - Konnektoren
      summary: >-
        Datenklasse eines Dienstes oder einer Quelle (Adresse) ändern oder auf
        Standard – mit der Folge für die KI-Clients, auditiert
      description: >-
        Datenklasse eines Dienstes oder einer Quelle (Adresse) ändern oder auf
        Standard – mit der Folge für die KI-Clients, auditiert.


        Im Chat mit «Mono Admin»: .
      operationId: putMandantenByIdSuiteKlassen
      parameters:
        - name: id
          in: path
          required: true
          description: Der Mandant (seine ID auf diesem Node).
          schema:
            type: string
          example: muster-ag
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ServiceClassBody'
      responses:
        '200':
          description: Erfolgreich.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServiceClassesResponse'
        '400':
          $ref: '#/components/responses/Fehler400'
        '401':
          $ref: '#/components/responses/Fehler401'
        '403':
          $ref: '#/components/responses/Fehler403'
        '404':
          $ref: '#/components/responses/Fehler404'
components:
  schemas:
    ServiceClassBody:
      type: object
      properties:
        service:
          type: string
          minLength: 1
          maxLength: 40
        address:
          type: string
          minLength: 3
          maxLength: 600
        name:
          type: string
          minLength: 1
          maxLength: 120
        dataClass:
          anyOf:
            - type: string
              enum:
                - öffentlich
                - intern
                - vertraulich
            - type: string
              const: standard
      required:
        - service
        - dataClass
    ServiceClassesResponse:
      type: object
      properties:
        klassen:
          type: object
          properties:
            provider:
              type:
                - string
                - 'null'
            canEdit:
              type: boolean
            lock:
              type:
                - string
                - 'null'
            services:
              type: array
              items:
                type: object
                properties:
                  service:
                    type: string
                  name:
                    type: string
                  cls:
                    type: string
                    enum:
                      - öffentlich
                      - intern
                      - vertraulich
                  standard:
                    type: string
                    enum:
                      - öffentlich
                      - intern
                      - vertraulich
                  why:
                    oneOf:
                      - type: object
                        properties:
                          code:
                            type: string
                            const: standard
                          reason:
                            type: string
                            enum:
                              - public
                              - signin
                              - files
                              - name
                              - label
                              - job
                          cls:
                            type: string
                            enum:
                              - öffentlich
                              - intern
                              - vertraulich
                        required:
                          - code
                          - reason
                          - cls
                        additionalProperties: false
                      - type: object
                        properties:
                          code:
                            type: string
                            const: angepasst
                          level:
                            type: string
                            enum:
                              - mandant
                              - service
                              - resource
                              - folder
                              - document
                              - app
                          cls:
                            type: string
                            enum:
                              - öffentlich
                              - intern
                              - vertraulich
                          by:
                            type: string
                          at:
                            type: string
                        required:
                          - code
                          - level
                          - cls
                        additionalProperties: false
                      - type: object
                        properties:
                          code:
                            type: string
                            const: erkannt
                          rules:
                            minItems: 1
                            type: array
                            items:
                              type: string
                          cls:
                            type: string
                            enum:
                              - öffentlich
                              - intern
                              - vertraulich
                        required:
                          - code
                          - rules
                          - cls
                        additionalProperties: false
                      - type: object
                        properties:
                          code:
                            type: string
                            const: geerbt
                          parent:
                            type: string
                          cls:
                            type: string
                            enum:
                              - öffentlich
                              - intern
                              - vertraulich
                        required:
                          - code
                          - parent
                          - cls
                        additionalProperties: false
                      - type: object
                        properties:
                          code:
                            type: string
                            const: geprueft
                          cls:
                            type: string
                            enum:
                              - öffentlich
                              - intern
                              - vertraulich
                          by:
                            type: string
                          at:
                            type: string
                        required:
                          - code
                          - cls
                        additionalProperties: false
                  customised:
                    type: boolean
                  sources:
                    type: boolean
                required:
                  - service
                  - name
                  - cls
                  - standard
                  - why
                  - customised
                  - sources
                additionalProperties: false
            sources:
              type: array
              items:
                type: object
                properties:
                  kind:
                    type: string
                    enum:
                      - pack
                      - web
                      - system
                      - service
                      - resource
                      - folder
                      - document
                      - upload
                      - app
                      - job
                  id:
                    type: string
                  name:
                    type: string
                  path:
                    type: string
                  cls:
                    type: string
                    enum:
                      - öffentlich
                      - intern
                      - vertraulich
                  standard:
                    type: string
                    enum:
                      - öffentlich
                      - intern
                      - vertraulich
                  why:
                    oneOf:
                      - type: object
                        properties:
                          code:
                            type: string
                            const: standard
                          reason:
                            type: string
                            enum:
                              - public
                              - signin
                              - files
                              - name
                              - label
                              - job
                          cls:
                            type: string
                            enum:
                              - öffentlich
                              - intern
                              - vertraulich
                        required:
                          - code
                          - reason
                          - cls
                        additionalProperties: false
                      - type: object
                        properties:
                          code:
                            type: string
                            const: angepasst
                          level:
                            type: string
                            enum:
                              - mandant
                              - service
                              - resource
                              - folder
                              - document
                              - app
                          cls:
                            type: string
                            enum:
                              - öffentlich
                              - intern
                              - vertraulich
                          by:
                            type: string
                          at:
                            type: string
                        required:
                          - code
                          - level
                          - cls
                        additionalProperties: false
                      - type: object
                        properties:
                          code:
                            type: string
                            const: erkannt
                          rules:
                            minItems: 1
                            type: array
                            items:
                              type: string
                          cls:
                            type: string
                            enum:
                              - öffentlich
                              - intern
                              - vertraulich
                        required:
                          - code
                          - rules
                          - cls
                        additionalProperties: false
                      - type: object
                        properties:
                          code:
                            type: string
                            const: geerbt
                          parent:
                            type: string
                          cls:
                            type: string
                            enum:
                              - öffentlich
                              - intern
                              - vertraulich
                        required:
                          - code
                          - parent
                          - cls
                        additionalProperties: false
                      - type: object
                        properties:
                          code:
                            type: string
                            const: geprueft
                          cls:
                            type: string
                            enum:
                              - öffentlich
                              - intern
                              - vertraulich
                          by:
                            type: string
                          at:
                            type: string
                        required:
                          - code
                          - cls
                        additionalProperties: false
                  chain:
                    type: array
                    items:
                      oneOf:
                        - type: object
                          properties:
                            code:
                              type: string
                              const: standard
                            reason:
                              type: string
                              enum:
                                - public
                                - signin
                                - files
                                - name
                                - label
                                - job
                            cls:
                              type: string
                              enum:
                                - öffentlich
                                - intern
                                - vertraulich
                          required:
                            - code
                            - reason
                            - cls
                          additionalProperties: false
                        - type: object
                          properties:
                            code:
                              type: string
                              const: angepasst
                            level:
                              type: string
                              enum:
                                - mandant
                                - service
                                - resource
                                - folder
                                - document
                                - app
                            cls:
                              type: string
                              enum:
                                - öffentlich
                                - intern
                                - vertraulich
                            by:
                              type: string
                            at:
                              type: string
                          required:
                            - code
                            - level
                            - cls
                          additionalProperties: false
                        - type: object
                          properties:
                            code:
                              type: string
                              const: erkannt
                            rules:
                              minItems: 1
                              type: array
                              items:
                                type: string
                            cls:
                              type: string
                              enum:
                                - öffentlich
                                - intern
                                - vertraulich
                          required:
                            - code
                            - rules
                            - cls
                          additionalProperties: false
                        - type: object
                          properties:
                            code:
                              type: string
                              const: geerbt
                            parent:
                              type: string
                            cls:
                              type: string
                              enum:
                                - öffentlich
                                - intern
                                - vertraulich
                          required:
                            - code
                            - parent
                            - cls
                          additionalProperties: false
                        - type: object
                          properties:
                            code:
                              type: string
                              const: geprueft
                            cls:
                              type: string
                              enum:
                                - öffentlich
                                - intern
                                - vertraulich
                            by:
                              type: string
                            at:
                              type: string
                          required:
                            - code
                            - cls
                          additionalProperties: false
                  customised:
                    type: boolean
                  mayGoTo:
                    type: array
                    items:
                      type: string
                  service:
                    type: string
                  seen:
                    type: boolean
                required:
                  - kind
                  - id
                  - name
                  - cls
                  - standard
                  - why
                  - chain
                  - customised
                  - service
                  - seen
                additionalProperties: false
            clients:
              type: array
              items:
                type: object
                properties:
                  name:
                    type: string
                  dataClasses:
                    type: array
                    items:
                      type: string
                      enum:
                        - öffentlich
                        - intern
                        - vertraulich
                required:
                  - name
                  - dataClasses
                additionalProperties: false
            outward:
              type: array
              items:
                type: string
            labels:
              type: object
              properties:
                available:
                  type: boolean
                reason:
                  type: string
              required:
                - available
                - reason
              additionalProperties: false
          required:
            - provider
            - canEdit
            - lock
            - services
            - sources
            - clients
            - labels
          additionalProperties: false
      required:
        - klassen
      additionalProperties: false
    Fehler:
      type: object
      description: >-
        Eine Ablehnung: ein fester Code und ein Satz auf Deutsch, der sagt, was
        zu tun ist.
      properties:
        error:
          type: string
          description: Der Code (`not_found`, `forbidden`, `invalid_input` …).
          examples:
            - forbidden
        message:
          type: string
          description: Der Grund in Worten.
          examples:
            - Nur für Admins dieses Mandanten
        reason:
          type: string
          description: Ein fester Code für den Grund, wo es einen gibt.
          examples:
            - admins_only
      required:
        - error
        - message
  responses:
    Fehler400:
      description: Die Eingabe passt nicht. `message` sagt, was fehlt.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Fehler'
    Fehler401:
      description: 'Anmeldung nötig: Der Bearer-Token fehlt oder gilt nicht mehr.'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Fehler'
    Fehler403:
      description: Die Person darf das nicht (zum Beispiel nur Admins des Mandanten).
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Fehler'
    Fehler404:
      description: Das Objekt ist auf diesem Node nicht bekannt.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Fehler'
  securitySchemes:
    bearer:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: >-
        Ein Access-Token des Node. Die Console holt ihn über die Anmeldung des
        Node (`/oauth/authorize`, PKCE, Client `mono-console`); in der
        Entwicklung nimmt ein Node mit Dev-Anmeldung auch einen Dev-Token.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.