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

# Numarayı sil

> Numarayı ve bağlı SIP trunk'ı siler.



## OpenAPI

````yaml /api-reference/openapi.json delete /phone-numbers/{id}
openapi: 3.1.0
info:
  title: AI Agent TR Public API
  version: 1.0.0
  description: >-
    Organizasyonunuzun Private API Anahtarı ile çağrılan uçlar. Organizasyon
    anahtardan belirlenir.
servers:
  - url: https://api.aiagenttr.com/api/public/v1
    description: Canlı
security:
  - bearerAuth: []
paths:
  /phone-numbers/{id}:
    parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          format: uuid
    delete:
      summary: Numarayı sil
      description: Numarayı ve bağlı SIP trunk'ı siler.
      operationId: deletePhoneNumber
      responses:
        '200':
          description: Silindi
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: string
                    format: uuid
                  status:
                    type: integer
                    example: 0
        '401':
          $ref: '#/components/responses/Unauthenticated'
        '404':
          description: Numara bulunamadı
components:
  responses:
    Unauthenticated:
      description: Anahtar yok, geçersiz ya da yenilenmiş
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            code: unauthenticated
            message: invalid api key
            details: null
  schemas:
    Error:
      type: object
      properties:
        code:
          type: string
        message:
          type: string
        details: {}
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        Organizasyonun Private API Anahtarı (Organizasyon Ayarları → Private API
        Anahtarı).

````

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