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

# Delete an imported certificate

> Requires Delete certificate. Only unused imported certificates can be deleted. Managed certificates and certificates still used by a distribution are rejected.



## OpenAPI

````yaml /openapi-products.json delete /tls-manager/certificates
openapi: 3.1.0
info:
  title: Aptranet delivery controls and TLS Manager
  version: 1.0.0
  description: >-
    Public project-scoped API. Use the access key and secret together.
    Browser-only organization administration is documented separately.
servers:
  - url: https://api.aptranet.com
security:
  - bearerAuth: []
    apiSecret: []
paths:
  /tls-manager/certificates:
    delete:
      tags:
        - TLS Manager certificates
      summary: Delete an imported certificate
      description: >-
        Requires Delete certificate. Only unused imported certificates can be
        deleted. Managed certificates and certificates still used by a
        distribution are rejected.
      operationId: DELETE_tls_manager_certificates
      parameters:
        - name: certificate
          in: query
          required: true
          schema:
            type: integer
            minimum: 1
      responses:
        '200':
          description: Successful response.
        default:
          description: >-
            Request rejected or service unavailable. See the error code and
            description; refresh before retrying a mutation whose result is
            uncertain.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    Error:
      type: object
      properties:
        error:
          type: string
        error_description:
          type: string
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: Project API access key.
    apiSecret:
      type: apiKey
      in: header
      name: Aptranet-Secret
      description: Current secret for the access key.

````

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