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

# Delete a business



## OpenAPI

````yaml DELETE /businesses/{id}
openapi: 3.0.3
info:
  title: Pocketflows API
  version: 0.0.4
servers:
  - url: https://api.pocketflows.com
    description: Production server
security:
  - HttpBasicAuth: []
paths:
  /businesses/{id}:
    delete:
      tags:
        - Businesses
      summary: Delete a business
      parameters:
        - in: path
          name: id
          schema:
            type: string
          description: The ID of the business
          required: true
      responses:
        '200':
          description: The deleted `Business` object
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Business'
components:
  schemas:
    Business:
      type: object
      properties:
        id:
          type: string
          description: The ID of the business
        external_id:
          type: string
          nullable: true
          description: The external ID of the business
        name:
          type: string
          description: The name of the business
        metadata:
          type: object
          additionalProperties: true
          description: Arbitrary metadata associated with this business
        created_at:
          type: string
          description: The date and time the business was created
        website:
          type: string
          nullable: true
          description: The website URL of the business
        disabled_steps:
          type: array
          items:
            type: string
            enum:
              - email
              - sms
          nullable: true
          description: >-
            Steps disabled for this business. If `null`, the business inherits
            the project's `disabled_steps`. If set (including `[]`), this list
            fully overrides the project's setting.
      required:
        - id
        - external_id
        - name
        - metadata
        - created_at
        - website
        - disabled_steps
      title: The Business object
  securitySchemes:
    HttpBasicAuth:
      type: http
      scheme: basic

````