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

# Zeitplan löschen

> Einen Zeitplan logisch löschen.

**Veraltet.** Zeitpläne wurden durch die Funktion Automatisierung abgelöst: Erstellen Sie stattdessen über `POST /v3/organizations/{org_id}/automations` eine Automatisierung mit einem `schedule:recurring`-Auslöser. Dieser Endpunkt bleibt für bestehende Zeitpläne verfügbar.

> [!WARNING]
>
> **Veraltet.** Zeitpläne wurden durch [Automations](https://docs.devinenterprise.com/de/api-reference/v3/automations/post-organizations-automations.md) abgelöst. Dieser Endpunkt funktioniert für bestehende Zeitpläne weiterhin; neue geplante Aufgaben sollten als Automatisierung mit einem `schedule:recurring`-Trigger erstellt werden.

## Berechtigungen

Erfordert einen [Servicebenutzer](https://docs.devinenterprise.com/de/api-reference/v3/service-users/members-service-users.md) oder ein [persönliches Zugriffstoken](https://docs.devinenterprise.com/de/api-reference/personal-access-tokens.md) mit der Berechtigung `ManageOrgSchedules` auf Organisationsebene.

## Hinweise

Dies führt eine Soft-Löschung (Soft Delete) durch. Der Zeitplan wird deaktiviert und als gelöscht markiert. Er wird nicht mehr in Ergebnislisten angezeigt.


## OpenAPI

````yaml de/v3-openapi.yaml DELETE /v3/organizations/{org_id}/schedules/{schedule_id}
openapi: 3.1.0
info:
  description: Devin v3 API mit Service-User-Authentifizierung und RBAC
  title: Devin API v3
  version: 3.0.0
servers: []
security:
  - bearerAuth: []
paths:
  /v3/organizations/{org_id}/schedules/{schedule_id}:
    delete:
      tags:
        - schedules
      summary: Zeitplan löschen
      description: >-
        Einen Zeitplan logisch löschen.


        **Veraltet.** Zeitpläne wurden durch die Funktion Automatisierung
        abgelöst: Erstellen Sie stattdessen über `POST
        /v3/organizations/{org_id}/automations` eine Automatisierung mit einem
        `schedule:recurring`-Auslöser. Dieser Endpunkt bleibt für bestehende
        Zeitpläne verfügbar.
      operationId: >-
        handle_delete_schedule_v3_organizations__org_id__schedules__schedule_id__delete
      parameters:
        - description: 'Zeitplan-ID (Präfix: sched-)'
          in: path
          name: schedule_id
          required: true
          schema:
            example: sched-abc123def456
            title: Schedule Id
            type: string
        - description: 'Organisations-ID (Präfix: org-)'
          in: path
          name: org_id
          required: true
          schema:
            example: org-abc123def456
            title: Org Id
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ScheduleResponse'
          description: Antwort bei Erfolg
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetail'
          description: Nicht autorisiert
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetail'
          description: Verboten
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetail'
          description: Nicht gefunden
        '409':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetail'
          description: Konflikt
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetail'
          description: Nicht verarbeitbarer Inhalt
        '429':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetail'
          description: Zu viele Anfragen
      deprecated: true
components:
  schemas:
    ScheduleResponse:
      properties:
        agent:
          enum:
            - devin
            - data_analyst
          title: Agent
          type: string
        bypass_approval:
          default: false
          title: Bypass Approval
          type: boolean
        consecutive_failures:
          title: Consecutive Failures
          type: integer
        created_at:
          format: date-time
          title: Created At
          type: string
        created_by:
          anyOf:
            - type: string
            - type: 'null'
          title: Created By
        enabled:
          title: Enabled
          type: boolean
        frequency:
          anyOf:
            - type: string
            - type: 'null'
          title: Frequency
        interval_count:
          default: 1
          title: Interval Count
          type: integer
        last_edited_by:
          anyOf:
            - type: string
            - type: 'null'
          title: Last Edited By
        last_error_at:
          anyOf:
            - format: date-time
              type: string
            - type: 'null'
          title: Last Error At
        last_error_message:
          anyOf:
            - type: string
            - type: 'null'
          title: Last Error Message
        last_executed_at:
          anyOf:
            - format: date-time
              type: string
            - type: 'null'
          title: Last Executed At
        name:
          title: Name
          type: string
        notify_on:
          enum:
            - always
            - failure
            - never
          title: Notify On
          type: string
        org_id:
          title: Org Id
          type: string
        platform:
          anyOf:
            - type: string
            - type: 'null'
          title: Platform
        playbook:
          anyOf:
            - $ref: '#/components/schemas/PlaybookInfo'
            - type: 'null'
        prompt:
          title: Prompt
          type: string
        schedule_type:
          default: recurring
          enum:
            - recurring
            - one_time
          title: Schedule Type
          type: string
        scheduled_at:
          anyOf:
            - format: date-time
              type: string
            - type: 'null'
          title: Scheduled At
        scheduled_session_id:
          title: Scheduled Session Id
          type: string
        skill_ref:
          anyOf:
            - $ref: '#/components/schemas/SkillReference'
            - type: 'null'
          description: >-
            Eindeutig festgelegter Skill, mit dem die Sitzungen ausgeführt
            werden. Für neue Konfigurationen anstelle von playbook_id verwenden.
        slack_channel_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Slack Channel Id
        slack_team_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Slack Team Id
        tags:
          anyOf:
            - items:
                type: string
              type: array
            - type: 'null'
          title: Tags
        target_devin_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Target Devin Id
        updated_at:
          format: date-time
          title: Updated At
          type: string
      required:
        - scheduled_session_id
        - org_id
        - created_by
        - name
        - prompt
        - playbook
        - frequency
        - enabled
        - last_executed_at
        - created_at
        - updated_at
        - last_error_at
        - last_error_message
        - consecutive_failures
        - notify_on
        - agent
      title: ScheduleResponse
      type: object
    ProblemDetail:
      description: >-
        RFC 9457 application/problem+json-Fehlertext für die v3-API.


        detail wird aus dem Legacy-Body {"detail": ...} aus Gründen der
        Abwärtskompatibilität beibehalten; die

        anderen Member sind additiv. errors enthält Validierungsfehler auf
        Feldebene

        (nur 422).
      properties:
        detail:
          anyOf:
            - type: string
            - type: 'null'
          description: Eine menschenlesbare Erklärung, die speziell für diesen Fall gilt.
          title: Detail
        error_code:
          anyOf:
            - type: string
            - type: 'null'
          description: >-
            Maschinenlesbarer Code für die Ablehnung blockierter Aktionen (z. B.
            "user_frozen", "migrated_session").
          title: Error Code
        errors:
          anyOf:
            - items:
                additionalProperties: true
                type: object
              type: array
            - type: 'null'
          description: Validierungsfehler auf Feldebene (nur bei 422-Antworten).
          title: Errors
        instance:
          anyOf:
            - type: string
            - type: 'null'
          description: Eine URI-Referenz (der Anfragepfad) für diesen Fall.
          title: Instance
        status:
          description: Der HTTP-Statuscode.
          title: Status
          type: integer
        title:
          description: Eine kurze, menschenlesbare Zusammenfassung des Problemtyps.
          title: Title
          type: string
        type:
          default: about:blank
          description: Eine URI-Referenz, die den Problemtyp identifiziert.
          title: Type
          type: string
      required:
        - title
        - status
      title: ProblemDetail
      type: object
    PlaybookInfo:
      properties:
        playbook_id:
          title: Playbook Id
          type: string
        title:
          anyOf:
            - type: string
            - type: 'null'
          title: Title
      required:
        - playbook_id
        - title
      title: PlaybookInfo
      type: object
    SkillReference:
      description: >-
        Ein eindeutig festgelegter Skill: das Plugin, das ihn bereitstellt,
        sowie der Name des Skills.
      properties:
        plugin_identity:
          description: >-
            Das Plugin, das den Skill bereitstellt: die ID eines von der
            Organisation hochgeladenen Pakets, z. B. 'org-playbooks', oder die
            URL eines Git-Plugins, z. B. 'https://github.com/acme/tools'.
          maxLength: 256
          minLength: 1
          title: Plugin Identity
          type: string
        skill_name:
          description: Name des Skills in diesem Plugin.
          maxLength: 128
          minLength: 1
          title: Skill Name
          type: string
      required:
        - plugin_identity
        - skill_name
      title: SkillReference
      type: object
  securitySchemes:
    bearerAuth:
      description: 'Servicebenutzer-Anmeldedaten (Präfix: cog_)'
      scheme: bearer
      type: http

````

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