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

# Api Account Delete

> Permanently delete the current workspace and its Platinur-managed resources.

Owner-only. Requires the exact workspace name, an explicit acknowledgment, and the Owner's
current password. The app plane performs deletion asynchronously; customer-owned GitHub
repositories and warehouses are not deleted.



## OpenAPI

````yaml /api/openapi.json post /api/account/delete
openapi: 3.1.0
info:
  description: >-
    Environment-aware APIs for Platinur configuration, integrations, operations,
    promotions, scheduling, monitoring, and assistant tasks.
  title: Platinur Control Plane API
  version: 1.0.0-rc21
servers:
  - description: Local Platinur control-plane API
    url: http://localhost:8080
security: []
paths:
  /api/account/delete:
    post:
      tags:
        - Settings
      summary: Api Account Delete
      description: >-
        Permanently delete the current workspace and its Platinur-managed
        resources.


        Owner-only. Requires the exact workspace name, an explicit
        acknowledgment, and the Owner's

        current password. The app plane performs deletion asynchronously;
        customer-owned GitHub

        repositories and warehouses are not deleted.
      operationId: api_account_delete_api_account_delete_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AccountDeletionRequest'
        required: true
      responses:
        '202':
          content:
            application/json:
              schema: {}
          description: Successful Response
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
components:
  schemas:
    AccountDeletionRequest:
      properties:
        acknowledged:
          default: false
          title: Acknowledged
          type: boolean
        current_password:
          title: Current Password
          type: string
        workspace_name:
          title: Workspace Name
          type: string
      required:
        - current_password
        - workspace_name
      title: AccountDeletionRequest
      type: object
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          title: Detail
          type: array
      title: HTTPValidationError
      type: object
    ValidationError:
      properties:
        ctx:
          title: Context
          type: object
        input:
          title: Input
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          title: Location
          type: array
        msg:
          title: Message
          type: string
        type:
          title: Error Type
          type: string
      required:
        - loc
        - msg
        - type
      title: ValidationError
      type: object

````