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

# Elimina Monitor

> Elimina temporaneamente un monitor e rimuove le sue risorse correlate di pianificazione/agent ombra.



## OpenAPI

````yaml it/openapi/monitors.json DELETE /v1/monitors/{monitor_id}
openapi: 3.0.3
info:
  title: API dei Monitor
  version: 1.0.0
servers:
  - url: https://api.olostep.com
security: []
paths:
  /v1/monitors/{monitor_id}:
    delete:
      summary: Elimina Monitor
      description: >-
        Elimina il monitor in modo soft (`status: deleted`) e rimuove il suo
        programma e la riga dell'agente ombra.
      parameters:
        - name: monitor_id
          in: path
          required: true
          schema:
            type: string
            pattern: ^monitor_
      responses:
        '200':
          description: Monitor eliminato.
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                  monitor_id:
                    type: string
        '400':
          description: monitor_id non valido o già eliminato.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Chiave API non valida.
        '404':
          description: Monitor non trovato.
        '500':
          description: Errore interno del server.
      security:
        - Authorization: []
components:
  schemas:
    ErrorResponse:
      type: object
      properties:
        error:
          type: string
        monitor_id:
          type: string
          description: Presente su alcune risposte di errore di creazione/aggiornamento.
  securitySchemes:
    Authorization:
      type: http
      scheme: bearer
      description: >-
        Intestazione di autenticazione Bearer del tipo Bearer <token>, dove
        <token> è il tuo token di autenticazione.

````