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

# Detach

> A clean exit. When this drops the **last** registrant the engine stops serving after a short grace window — it is app-lifetime, not a background daemon.



## OpenAPI

````yaml /api-reference/openapi.json post /engine/deregister
openapi: 3.1.0
info:
  title: Meradomo Public API
  version: 1.0.0
  description: >-
    Two surfaces: the local management API on 127.0.0.1:8765 (Publish) and the
    OAuth endpoints on account.meradomo.com (Connect). No SDK — these HTTP
    endpoints are the integration surface.
  license:
    name: MIT
servers:
  - url: http://127.0.0.1:8765
    description: Local management API (Publish)
  - url: https://account.meradomo.com
    description: Control plane (Connect / OAuth)
security: []
paths:
  /engine/deregister:
    post:
      tags:
        - Engine
      summary: Detach
      description: >-
        A clean exit. When this drops the **last** registrant the engine stops
        serving after a short grace window — it is app-lifetime, not a
        background daemon.
      operationId: engineDeregister
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - appId
              properties:
                appId:
                  type: string
      responses:
        '200':
          description: Detached
      servers:
        - url: http://127.0.0.1:8765

````