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

# Delete Datastore

> Permanently delete a datastore and all of its collections and documents. **This action cannot be undone.**



## OpenAPI

````yaml /openapi/product/appdb.yaml delete /api/datastores/v1/{datastoreId}
openapi: 3.0.0
info:
  title: App DB API
  version: v1
  description: |
    The App DB API allows developers to interact with AppDB, a NoSQL database 
    for storing arbitrary JSON documents. This API supports CRUD operations, 
    querying, and aggregation, enabling developers to manage data efficiently 
    within their Domo applications.
servers:
  - url: https://{instance}.domo.com
    description: Domo Instance
    variables:
      instance:
        default: api
        description: Your specific Domo instance name (e.g., mycompany)
security:
  - developerToken: []
tags:
  - name: Documents
    description: Manage individual documents in an AppDB collection.
  - name: Collections
    description: Manage AppDB collections (schema, permissions).
  - name: App DB API (Product)
    description: Manage documents and collections in AppDB.
paths:
  /api/datastores/v1/{datastoreId}:
    delete:
      tags:
        - App DB API (Product)
      summary: Delete Datastore
      description: >-
        Permanently delete a datastore and all of its collections and documents.
        **This action cannot be undone.**
      parameters:
        - name: datastoreId
          in: path
          required: true
          schema:
            type: string
          description: The ID of the datastore to delete.
      responses:
        '204':
          description: Datastore deleted successfully. No response body is returned.
        '404':
          $ref: '#/components/responses/DatastoreNotFound'
components:
  responses:
    DatastoreNotFound:
      description: Not Found
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            message: Datastore not found
            status: 404
            statusReason: Not Found
            toe: 368PTXPNSC-XVC0X-TBNYZ
  schemas:
    ErrorResponse:
      type: object
      properties:
        message:
          type: string
          description: A human-readable error message.
        status:
          type: integer
          description: HTTP status code.
        statusReason:
          type: string
          description: HTTP status reason phrase.
        toe:
          type: string
          description: Trace identifier for support; stands for Thread of Execution.
  securitySchemes:
    developerToken:
      type: apiKey
      in: header
      name: X-DOMO-Developer-Token
      description: Domo Developer Token for authentication.

````