> ## 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.

# Die Adresse wählen (Edge-Namen behalten oder einen eigenen Namen anfragen), prüfen, live schalten, zurück zum Edge-Namen, entfernen, den Edge-Namen freigeben (ADR-0065)

> Die Adresse wählen (Edge-Namen behalten oder einen eigenen Namen anfragen), prüfen, live schalten, zurück zum Edge-Namen, entfernen, den Edge-Namen freigeben (ADR-0065).

Im Chat mit «Mono Admin»: `betrieb_status`.



## OpenAPI

````yaml /api-reference/openapi.json post /mandanten/{id}/address
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}/address:
    post:
      tags:
        - Betrieb
      summary: >-
        Die Adresse wählen (Edge-Namen behalten oder einen eigenen Namen
        anfragen), prüfen, live schalten, zurück zum Edge-Namen, entfernen, den
        Edge-Namen freigeben (ADR-0065)
      description: >-
        Die Adresse wählen (Edge-Namen behalten oder einen eigenen Namen
        anfragen), prüfen, live schalten, zurück zum Edge-Namen, entfernen, den
        Edge-Namen freigeben (ADR-0065).


        Im Chat mit «Mono Admin»: `betrieb_status`.
      operationId: postMandantenByIdAddress
      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/AddressActionRequest'
      responses:
        '200':
          description: Erfolgreich.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AddressActionResponse'
        '400':
          $ref: '#/components/responses/Fehler400'
        '401':
          $ref: '#/components/responses/Fehler401'
        '403':
          $ref: '#/components/responses/Fehler403'
        '404':
          $ref: '#/components/responses/Fehler404'
components:
  schemas:
    AddressActionRequest:
      type: object
      properties:
        action:
          type: string
          enum:
            - set
            - check
            - confirm
            - live
            - back
            - remove
            - release
            - keep
        hostname:
          type: string
          maxLength: 260
        auto:
          type: boolean
        signIn:
          type: boolean
      required:
        - action
    AddressActionResponse:
      type: object
      properties:
        address:
          type: object
          properties:
            reachability:
              type: object
              properties:
                mode:
                  type: string
                  enum:
                    - edge
                    - cloudflare
                    - tailscale-funnel
                    - tailscale-serve
                    - direct
                    - local
                    - relay
                    - hosted
                label:
                  type: string
                text:
                  type: string
                source:
                  type: string
                  enum:
                    - settings
                    - detected
                cloudClients:
                  type: boolean
                facts:
                  type: array
                  items:
                    type: string
              required:
                - mode
                - label
                - text
                - source
                - cloudClients
                - facts
              additionalProperties: false
            current:
              type: object
              properties:
                url:
                  type: string
                hostname:
                  type: string
                kind:
                  type: string
                  enum:
                    - edge
                    - own
                    - other
                custom:
                  type: boolean
                settingsUrl:
                  type: string
              required:
                - url
                - hostname
                - kind
                - custom
                - settingsUrl
              additionalProperties: false
            edge:
              anyOf:
                - type: object
                  properties:
                    hostname:
                      type: string
                    url:
                      type: string
                    service:
                      type: string
                    status:
                      type: string
                      enum:
                        - ok
                        - error
                    text:
                      type: string
                  required:
                    - hostname
                    - url
                    - service
                    - status
                    - text
                  additionalProperties: false
                - type: 'null'
            own:
              anyOf:
                - type: object
                  properties:
                    hostname:
                      type: string
                    url:
                      type: string
                    state:
                      type: string
                      enum:
                        - dns
                        - cert
                        - signin
                        - ready
                        - live
                        - blocked
                        - error
                    stateText:
                      type: string
                    next:
                      type: string
                    records:
                      type: array
                      items:
                        type: object
                        properties:
                          type:
                            type: string
                            enum:
                              - CNAME
                              - TXT
                              - CAA
                          name:
                            type: string
                          value:
                            type: string
                          line:
                            type: string
                        required:
                          - type
                          - name
                          - value
                          - line
                        additionalProperties: false
                    dns:
                      type: object
                      properties:
                        status:
                          type: string
                          enum:
                            - ok
                            - missing
                            - other
                            - apex
                            - caa
                            - unreachable
                        text:
                          type: string
                        found:
                          type: array
                          items:
                            type: string
                        foundAs:
                          type: string
                          enum:
                            - CNAME
                            - A
                        caa:
                          anyOf:
                            - type: object
                              properties:
                                domain:
                                  type: string
                                present:
                                  type: array
                                  items:
                                    type: string
                                add:
                                  type: array
                                  items:
                                    type: string
                              required:
                                - domain
                                - present
                                - add
                              additionalProperties: false
                            - type: 'null'
                        checkedAt:
                          type: string
                          minLength: 1
                      required:
                        - status
                        - text
                        - found
                        - caa
                        - checkedAt
                      additionalProperties: false
                    certificate:
                      type: object
                      properties:
                        status:
                          type: string
                          enum:
                            - waiting
                            - issuing
                            - active
                            - failed
                        text:
                          type: string
                      required:
                        - status
                        - text
                      additionalProperties: false
                    reach:
                      anyOf:
                        - type: object
                          properties:
                            ok:
                              type: boolean
                            text:
                              type: string
                          required:
                            - ok
                            - text
                          additionalProperties: false
                        - type: 'null'
                    requestedAt:
                      type: string
                      minLength: 1
                    requestedBy:
                      type: string
                    liveAt:
                      anyOf:
                        - type: string
                          minLength: 1
                        - type: 'null'
                    auto:
                      type: boolean
                    signIn:
                      type: object
                      properties:
                        needed:
                          type: boolean
                        confirmed:
                          anyOf:
                            - type: object
                              properties:
                                at:
                                  type: string
                                  minLength: 1
                                by:
                                  type: string
                              required:
                                - at
                                - by
                              additionalProperties: false
                            - type: 'null'
                      required:
                        - needed
                        - confirmed
                      additionalProperties: false
                    steps:
                      type: array
                      items:
                        type: object
                        properties:
                          key:
                            type: string
                            enum:
                              - dns
                              - cert
                              - reach
                              - signin
                              - live
                          state:
                            type: string
                            enum:
                              - done
                              - now
                              - wait
                              - fail
                          code:
                            type: string
                          vars:
                            type: object
                            propertyNames:
                              type: string
                            additionalProperties:
                              type: string
                          text:
                            type: string
                        required:
                          - key
                          - state
                          - code
                          - vars
                          - text
                        additionalProperties: false
                    hoster:
                      anyOf:
                        - type: object
                          properties:
                            zone:
                              type: string
                            ns:
                              type: array
                              items:
                                type: string
                            known:
                              anyOf:
                                - type: object
                                  properties:
                                    id:
                                      type: string
                                    name:
                                      type: string
                                    menu:
                                      type: string
                                    menus:
                                      type: object
                                      propertyNames:
                                        type: string
                                      additionalProperties:
                                        type: string
                                    languages:
                                      type: array
                                      items:
                                        type: string
                                    docs:
                                      type: string
                                  required:
                                    - id
                                    - name
                                    - menu
                                    - docs
                                  additionalProperties: false
                                - type: 'null'
                            connect:
                              anyOf:
                                - type: object
                                  properties:
                                    provider:
                                      type: string
                                    url:
                                      type: string
                                  required:
                                    - provider
                                    - url
                                  additionalProperties: false
                                - type: 'null'
                          required:
                            - zone
                            - ns
                            - known
                            - connect
                          additionalProperties: false
                        - type: 'null'
                  required:
                    - hostname
                    - url
                    - state
                    - stateText
                    - next
                    - records
                    - dns
                    - certificate
                    - reach
                    - requestedAt
                    - requestedBy
                    - liveAt
                  additionalProperties: false
                - type: 'null'
            switch:
              anyOf:
                - type: object
                  properties:
                    changes:
                      type: array
                      items:
                        type: object
                        properties:
                          label:
                            type: string
                          before:
                            type: string
                          after:
                            type: string
                        required:
                          - label
                          - before
                          - after
                        additionalProperties: false
                    steps:
                      type: array
                      items:
                        type: string
                    aiClients:
                      type: integer
                      minimum: -9007199254740991
                      maximum: 9007199254740991
                    signIn:
                      type: array
                      items:
                        type: object
                        properties:
                          method:
                            type: string
                          kind:
                            type: string
                          label:
                            type: string
                          provider:
                            type: string
                          where:
                            type: string
                          link:
                            type: string
                          whereByLang:
                            type: object
                            propertyNames:
                              type: string
                            additionalProperties:
                              type: string
                          add:
                            minItems: 1
                            type: array
                            items:
                              type: object
                              properties:
                                label:
                                  type: string
                                value:
                                  type: string
                                keep:
                                  type: string
                                key:
                                  type: string
                                  enum:
                                    - redirect
                                    - acs
                                    - entity
                              required:
                                - label
                                - value
                                - keep
                              additionalProperties: false
                          several:
                            type: boolean
                        required:
                          - method
                          - kind
                          - label
                          - provider
                          - where
                          - add
                          - several
                        additionalProperties: false
                    passkeys:
                      type: object
                      properties:
                        count:
                          type: integer
                          minimum: 0
                          maximum: 9007199254740991
                        host:
                          type: string
                      required:
                        - count
                        - host
                      additionalProperties: false
                  required:
                    - changes
                    - steps
                    - aiClients
                  additionalProperties: false
                - type: 'null'
            modes:
              type: array
              items:
                type: object
                properties:
                  mode:
                    type: string
                    enum:
                      - edge
                      - cloudflare
                      - tailscale-funnel
                      - tailscale-serve
                      - direct
                      - local
                      - relay
                      - hosted
                  label:
                    type: string
                  text:
                    type: string
                  facts:
                    type: array
                    items:
                      type: string
                  how:
                    type: string
                  current:
                    type: boolean
                  warning:
                    type:
                      - string
                      - 'null'
                required:
                  - mode
                  - label
                  - text
                  - facts
                  - how
                  - current
                  - warning
                additionalProperties: false
            aiClients:
              type: integer
              minimum: 0
              maximum: 9007199254740991
            bound:
              type: object
              properties:
                aiClients:
                  type: integer
                  minimum: 0
                  maximum: 9007199254740991
                passkeys:
                  type: integer
                  minimum: 0
                  maximum: 9007199254740991
              required:
                - aiClients
                - passkeys
              additionalProperties: false
            question:
              type: object
              properties:
                open:
                  type: boolean
                edge:
                  type:
                    - string
                    - 'null'
                suggestion:
                  type:
                    - string
                    - 'null'
                verified:
                  type: boolean
                kept:
                  anyOf:
                    - type: object
                      properties:
                        at:
                          type: string
                          minLength: 1
                        by:
                          type: string
                      required:
                        - at
                        - by
                      additionalProperties: false
                    - type: 'null'
              required:
                - open
                - edge
                - suggestion
                - kept
              additionalProperties: false
            can:
              type: object
              properties:
                set:
                  type:
                    - string
                    - 'null'
                live:
                  type:
                    - string
                    - 'null'
                remove:
                  type:
                    - string
                    - 'null'
                release:
                  type:
                    - string
                    - 'null'
              required:
                - set
                - live
                - remove
              additionalProperties: false
            measuredAt:
              type: string
              minLength: 1
          required:
            - reachability
            - current
            - edge
            - own
            - switch
            - modes
            - aiClients
            - can
            - measuredAt
          additionalProperties: false
        text:
          type: string
        restarting:
          type: boolean
      required:
        - address
        - text
        - restarting
      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.