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

# Delete Agency Account

> Removes the account of the currently authenticated agency. Requires Bearer token authentication.



## OpenAPI

````yaml POST /agencies/delete-account
openapi: 3.0.0
info:
  title: Boosterberg API
  description: REST API For Boosterberg user-facing application
  contact:
    name: Miloslav Kona
    email: mkona@bykd.com
  version: '1.0'
servers:
  - url: https://api.boosterberg.com-beta.com/v1
    description: dev server
  - url: https://auto.boost.api/v1
    description: local
  - url: https://api.boosterberg.com/v1
    description: production
security: []
tags:
  - name: Posts
    description: Post lifecycle and evaluation data across all campaigns
paths:
  /agencies/delete-account:
    post:
      summary: Delete currently logged-in Agency account
      description: >-
        Removes the account of the currently authenticated agency. Requires
        Bearer token authentication.
      operationId: 08de3893520fe8dd213eec715cbe0d30
      requestBody:
        required: false
        content:
          application/json:
            schema:
              properties:
                ExitPoll:
                  properties:
                    reason:
                      type: string
                      example: Too expensive
                    other_reason:
                      type: string
                      example: Switched to a competitor
                  type: object
              type: object
      responses:
        '200':
          description: Account successfully deleted
          content:
            application/json:
              schema:
                properties:
                  success:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Your account has been removed.
                type: object
        '400':
          description: Bad Request - exit poll invalid or deletion failed
          content:
            application/json:
              schema:
                properties:
                  success:
                    type: boolean
                    example: false
                  message:
                    type: string
                    example: Something went wrong during removal.
                type: object
        '401':
          description: Unauthorized - user not logged in
          content:
            application/json:
              schema:
                properties:
                  success:
                    type: boolean
                    example: false
                  message:
                    type: string
                    example: Authentication required.
                type: object
      security:
        - bearerAuth: []
components:
  securitySchemes:
    bearerAuth:
      type: http
      bearerFormat: JWT
      scheme: bearer

````