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

# Terminate Lease

> Surrender your number to Contiguity

<Warning>
  This action is effective immediately.
</Warning>

<img
  src="https://fake.img.com/nonexistent.jpg"
  style={{display: 'none'}}
  onError={() => {
    const script = document.createElement('script');
    script.textContent = `
        document.querySelectorAll('a[href*="mintlify.com"][href*="poweredBy"]').forEach(link => {
            link.remove();
        });
    `
    document.head.appendChild(script);
}}
/>


## OpenAPI

````yaml openapi-numbers DELETE /leased/{number}
openapi: 3.0.0
info:
  version: v2026.3.3
  title: Leasing API
servers:
  - url: https://api.contiguity.com/numbers
security: []
paths:
  /leased/{number}:
    delete:
      parameters:
        - schema:
            type: string
            description: Phone number in E.164 format
            example: '+13059478667'
          required: true
          description: Phone number in E.164 format
          name: number
          in: path
      responses:
        '200':
          description: Terminate your lease for a number
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: string
                    example: req_xxxxxxxxxxxxxxxx
                  timestamp:
                    type: number
                    example: 1772568052124
                  api_version:
                    type: string
                    example: v2026.3.3
                  object:
                    type: string
                    example: response
                  data:
                    type: object
                    properties:
                      lease_id:
                        type: string
                        description: Terminated lease ID
                        example: lsd_1234567890
                      number_id:
                        type: string
                        description: Number ID
                        example: '+13059478667'
                      status:
                        type: string
                        enum:
                          - active
                          - expired
                          - terminated
                        description: The lease's new status
                        example: terminated
                      terminated_at:
                        type: number
                        description: Termination timestamp
                        example: 1718851200
                    required:
                      - lease_id
                      - number_id
                      - status
                      - terminated_at
                required:
                  - id
                  - timestamp
                  - api_version
                  - object
                  - data
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: string
                    example: err_xxxxxxxxxxxxxxxx
                  timestamp:
                    type: number
                    example: 1772568052124
                  api_version:
                    type: string
                    example: v2026.3.3
                  object:
                    type: string
                    example: error
                  data:
                    type: object
                    properties:
                      error:
                        type: string
                        example: Bad Request
                      status:
                        type: number
                        example: 400
                    required:
                      - error
                      - status
                required:
                  - id
                  - timestamp
                  - api_version
                  - object
                  - data
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: string
                    example: err_xxxxxxxxxxxxxxxx
                  timestamp:
                    type: number
                    example: 1772568052124
                  api_version:
                    type: string
                    example: v2026.3.3
                  object:
                    type: string
                    example: error
                  data:
                    type: object
                    properties:
                      error:
                        type: string
                        example: Unauthorized
                      status:
                        type: number
                        example: 401
                    required:
                      - error
                      - status
                required:
                  - id
                  - timestamp
                  - api_version
                  - object
                  - data
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: string
                    example: err_xxxxxxxxxxxxxxxx
                  timestamp:
                    type: number
                    example: 1772568052124
                  api_version:
                    type: string
                    example: v2026.3.3
                  object:
                    type: string
                    example: error
                  data:
                    type: object
                    properties:
                      error:
                        type: string
                        example: Forbidden
                      status:
                        type: number
                        example: 403
                    required:
                      - error
                      - status
                required:
                  - id
                  - timestamp
                  - api_version
                  - object
                  - data
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: string
                    example: err_xxxxxxxxxxxxxxxx
                  timestamp:
                    type: number
                    example: 1772568052124
                  api_version:
                    type: string
                    example: v2026.3.3
                  object:
                    type: string
                    example: error
                  data:
                    type: object
                    properties:
                      error:
                        type: string
                        example: Internal Server Error
                      status:
                        type: number
                        example: 500
                    required:
                      - error
                      - status
                required:
                  - id
                  - timestamp
                  - api_version
                  - object
                  - data
      security:
        - bearerAuth: []
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````