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

# Delete an organization

> Delete an organization by its ID. Ensure the organization belongs to the store by checking the `x-store-id` header.

- **Parameters:**
  - `id` (string, path, required): The ID of the organization.

- **Responses:**
  - `204`: Organization deleted successfully. No content returned.
  - `401`: Unauthorized if `x-store-id` is not provided.



## OpenAPI

````yaml /api-reference/blink-api.json delete /organizations/{id}
openapi: 3.0.0
info:
  title: Blink API
  description: Comprehensive API documentation for Blink.
  version: 1.0.0
servers:
  - url: https://api.blink.store/v1
security:
  - storeIdHeader: []
tags:
  - name: Invoices
    description: Unified merchant of record invoices for products and subscriptions.
  - name: Geo Pricing
    description: Resolve Purchasing Power Parity (PPP) localized pricing.
paths:
  /organizations/{id}:
    delete:
      tags:
        - Organizations
      summary: Delete an organization
      description: >-
        Delete an organization by its ID. Ensure the organization belongs to the
        store by checking the `x-store-id` header.


        - **Parameters:**
          - `id` (string, path, required): The ID of the organization.

        - **Responses:**
          - `204`: Organization deleted successfully. No content returned.
          - `401`: Unauthorized if `x-store-id` is not provided.
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
          description: ID of the organization
      responses:
        '204':
          description: Organization deleted successfully. No content returned.
        '401':
          description: Unauthorized - Store ID header missing.
      security:
        - storeIdHeader: []
components:
  securitySchemes:
    storeIdHeader:
      type: apiKey
      in: header
      name: x-store-id

````