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

# Kontakt löschen

> Deletes a contact and anonymizes all personal data.



## OpenAPI

````yaml openapi-v2.json DELETE /v2/contacts/{id}
openapi: 3.1.1
info:
  title: telli API
  version: 2.0.0
  description: telli V2 API
servers:
  - url: https://api.telli.com
    description: prod
security:
  - BearerAuth: []
paths:
  /v2/contacts/{id}:
    delete:
      summary: Delete contact
      description: Deletes a contact and anonymizes all personal data.
      operationId: contacts.deleteContact
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
            format: uuid
      responses:
        '204':
          description: OK
          content:
            application/json:
              schema:
                anyOf:
                  - not: {}
                  - not: {}
        '401':
          description: '401'
          content:
            application/json:
              schema:
                oneOf:
                  - type: object
                    properties:
                      defined:
                        const: true
                      code:
                        const: UNAUTHORIZED
                      status:
                        const: 401
                      message:
                        type: string
                        default: API key is missing or invalid
                      data: {}
                    required:
                      - defined
                      - code
                      - status
                      - message
                  - type: object
                    properties:
                      defined:
                        const: false
                      code:
                        type: string
                      status:
                        type: number
                      message:
                        type: string
                      data: {}
                    required:
                      - defined
                      - code
                      - status
                      - message
        '404':
          description: '404'
          content:
            application/json:
              schema:
                oneOf:
                  - type: object
                    properties:
                      defined:
                        const: true
                      code:
                        const: CONTACT_NOT_FOUND
                      status:
                        const: 404
                      message:
                        type: string
                        default: Contact not found
                      data:
                        type: object
                        properties:
                          contactId:
                            type: string
                            format: uuid
                        required:
                          - contactId
                    required:
                      - defined
                      - code
                      - status
                      - message
                      - data
                  - type: object
                    properties:
                      defined:
                        const: false
                      code:
                        type: string
                      status:
                        type: number
                      message:
                        type: string
                      data: {}
                    required:
                      - defined
                      - code
                      - status
                      - message
        '409':
          description: '409'
          content:
            application/json:
              schema:
                oneOf:
                  - type: object
                    properties:
                      defined:
                        const: true
                      code:
                        const: CONTACT_HAS_PENDING_CALLS
                      status:
                        const: 409
                      message:
                        type: string
                        default: >-
                          A call for this contact is still being processed.
                          Please wait for all calls to complete before deleting.
                      data:
                        type: object
                        properties:
                          contactId:
                            type: string
                            format: uuid
                        required:
                          - contactId
                    required:
                      - defined
                      - code
                      - status
                      - message
                      - data
                  - type: object
                    properties:
                      defined:
                        const: true
                      code:
                        const: CONTACT_HAS_ACTIVE_CALLS
                      status:
                        const: 409
                      message:
                        type: string
                        default: 'Cannot delete contact: call currently in progress'
                      data:
                        type: object
                        properties:
                          contactId:
                            type: string
                            format: uuid
                        required:
                          - contactId
                    required:
                      - defined
                      - code
                      - status
                      - message
                      - data
                  - type: object
                    properties:
                      defined:
                        const: false
                      code:
                        type: string
                      status:
                        type: number
                      message:
                        type: string
                      data: {}
                    required:
                      - defined
                      - code
                      - status
                      - message
      security:
        - BearerAuth: []
components:
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      description: API key authentication. Use your telli API key as the bearer token.

````