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

# Delete an app



## OpenAPI

````yaml https://dojo.frogbot.ai/api/openapi.json delete /api/apps/{id}
openapi: 3.1.0
info:
  title: Dojo API
  version: '1'
  description: >-
    Everything Dojo's pages do, for scripts and agents. Sign in with an API key
    as `Authorization: Bearer fb_…`. Paying and accepting the terms happen at a
    link a route answers, for a person to open.
servers:
  - url: https://dojo.frogbot.ai
security:
  - apiKey: []
tags:
  - name: Sign-in
  - name: Workspaces
  - name: Projects
  - name: Apps
  - name: Templates
  - name: Sharing
  - name: Deployments
  - name: Environment variables
  - name: Domains
  - name: Data
  - name: Billing
  - name: API keys
paths:
  /api/apps/{id}:
    delete:
      tags:
        - Apps
      summary: Delete an app
      parameters:
        - name: id
          in: path
          required: true
          description: The app's id.
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  doc:
                    $ref: '#/components/schemas/Apps'
                  message:
                    type: string
        '400':
          description: '`invalid_request`'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Errors'
        '401':
          description: '`unauthorized`'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Errors'
        '403':
          description: '`forbidden`'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Errors'
        '404':
          description: '`not_found`'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Errors'
components:
  schemas:
    Apps:
      type: object
      properties:
        id:
          type: string
        workspace:
          type: string
          description: The id of a workspaces document.
        name:
          type: string
        slug:
          type: string
        createdBy:
          type: string
          description: The id of a users document.
        project:
          type: string
          description: The id of a projects document.
        visibility:
          type: string
          enum:
            - private
            - workspace
            - public
        startedAt:
          type: string
          format: date-time
        removed:
          type: boolean
          description: >-
            Takes the app down: it shows a removed page, scheduled wakes stop
            and deploys are refused. Untick to undo. Only Dojo staff can change
            it.
        stoppedAt:
          type: string
          format: date-time
        runtime:
          type: object
          properties:
            provider:
              type: string
            app:
              type: string
            database:
              type: string
              enum:
                - sqlite
                - dojo
                - own
            databaseProject:
              type: string
            databaseBytes:
              type: number
            volume:
              type: string
            volumeSizeGb:
              type: number
            machine:
              type: string
            image:
              type: string
            healthCheck:
              type: string
              enum:
                - http
                - tcp
            deployment:
              type: string
              description: The id of a deployments document.
            secretsVersion:
              type: number
            schedules: {}
            nextWakeAt:
              type: string
              format: date-time
            wakeAttempt:
              type: number
            lastWakeAt:
              type: string
              format: date-time
            lastWakeStatus:
              type: string
              enum:
                - ok
                - retrying
                - failed
            lastWakeError:
              type: string
            wakeFailures:
              type: number
            wakeAlertedAt:
              type: string
              format: date-time
            storageAlertedAt:
              type: string
              format: date-time
            egressMonth:
              type: string
            egressBytes:
              type: number
            egressCountedAt:
              type: string
              format: date-time
            egressAlertedMonth:
              type: string
        preview:
          type: object
          properties:
            startedAt:
              type: string
              format: date-time
            endsAt:
              type: string
              format: date-time
            endedAt:
              type: string
              format: date-time
            keep:
              type: boolean
        domain:
          type: string
        domainLiveAt:
          type: string
          format: date-time
        deployable:
          type: boolean
        activity:
          type: string
    Errors:
      type: object
      required:
        - errors
      properties:
        errors:
          type: array
          items:
            type: object
            required:
              - message
            properties:
              message:
                type: string
              data:
                type: object
                properties:
                  code:
                    type: string
                  url:
                    type: string
                    description: Where a person takes the next step, such as paying.
  securitySchemes:
    apiKey:
      type: http
      scheme: bearer
      description: >-
        An API key from `frogbot deploy`'s sign-in, `/api/cli/device/token`, or
        the API keys page.

````

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