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

# Delete compliance application API

> Delete a phone number compliance application and its uploaded documents. Use this to resubmit an application with corrected details.



## OpenAPI

````yaml DELETE /compliance/{compliance_id}
openapi: 3.1.0
info:
  title: Bolna API
  description: >-
    Use and leverage Bolna Voice AI using APIs through HTTP requests from any
    language in your applications and workflows.
  license:
    name: MIT
  version: 1.0.0
servers:
  - url: https://api.bolna.ai
    description: Production server
security:
  - bearerAuth: []
tags:
  - name: SIP trunks
    description: >-
      Bring-your-own-carrier SIP trunks, their gateways, carrier IPs and
      numbers.
paths:
  /compliance/{compliance_id}:
    delete:
      description: >-
        Delete a phone number compliance application along with its uploaded
        documents.
      parameters:
        - in: path
          name: compliance_id
          required: true
          description: The `id` of the compliance application to delete
          schema:
            type: string
            format: uuid
            example: a3f1c2d4-5e6b-4c7d-8e9f-0a1b2c3d4e5f
      responses:
        '200':
          description: Compliance application deleted
          content:
            application/json:
              example:
                message: success
                state: deleted
        '404':
          description: The compliance application was not found or could not be deleted
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              examples:
                Not found:
                  summary: >-
                    No compliance application with this ID exists in your
                    account or organization
                  value:
                    message: Provided compliance application not found.
                Deletion failed:
                  summary: The application could not be deleted
                  value:
                    message: Unable to delete your application. Please contact support.
components:
  schemas:
    Error:
      required:
        - error
        - message
      type: object
      properties:
        error:
          type: integer
          format: int32
        message:
          type: string
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.