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

# Release Phone Number

> Release Phone Number.

### Authorizations

<ParamField header="X-Api-Key" type="string" required>
  Your Agni API key used to authenticate the request. Pass it in the `X-Api-Key` header. Find or rotate it from your Ravan AI account settings.
</ParamField>

***

### Path Parameters

<ParamField path="phone_number" type="string" required>
  The phone number in E.164 format. Example: `+14157774444`.
</ParamField>

***

### Response

<ResponseField name="success" type="boolean">
  Whether the request succeeded.
</ResponseField>

<ResponseField name="message" type="string">
  Human-readable status message.
</ResponseField>

<ResponseField name="data" type="object">
  Returned data.

  <Expandable title="data">
    <ResponseField name="phone_number" type="string">
      The released phone number
    </ResponseField>

    <ResponseField name="status" type="string">
      Release status
    </ResponseField>

    <ResponseField name="released_at" type="string">
      Timestamp of release
    </ResponseField>
  </Expandable>
</ResponseField>

<ResponseExample>
  ```json 200 theme={null}
  {
    "success": true,
    "message": "Request completed successfully",
    "data": {
      "phone_number": "+14155550100",
      "status": "active",
      "released_at": "example"
    }
  }
  ```
</ResponseExample>


## OpenAPI

````yaml DELETE /api/v1/phone-numbers/{phone_number}/release/
openapi: 3.0.1
info:
  title: Agni API
  version: 1.0.0
  description: >-
    Agni API for managing agents, tools, widget settings, telephony, and
    integrations.
servers:
  - url: https://api.ravan.ai
security:
  - X-Api-Key: []
tags:
  - name: AgentService
  - name: AgentToolService
  - name: WidgetSettingsService
  - name: PhoneService
  - name: AppointmentService
  - name: GHLService
  - name: CalComService
  - name: CampaignService
  - name: ContactService
  - name: CallingService
  - name: RAGService
  - name: ModelService
  - name: HealthService
paths:
  /api/v1/phone-numbers/{phone_number}/release/:
    delete:
      tags:
        - PhoneService
      summary: Release Phone Number
      operationId: ReleasePhoneNumber
      parameters:
        - name: phone_number
          in: path
          required: true
          schema:
            type: string
          description: The phone number to release (E.164 format, e.g. +12025551234)
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ReleasePhoneNumberResponse'
components:
  schemas:
    ReleasePhoneNumberResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        data:
          type: object
          properties:
            phone_number:
              type: string
              description: The released phone number
            status:
              type: string
              description: Release status
            released_at:
              type: string
              description: Timestamp of release
  securitySchemes:
    X-Api-Key:
      type: apiKey
      in: header
      name: X-Api-Key

````