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

# Get IPv6 Address

> Shows the server's IPv6 address, or whether one can be enabled. IPv6 is
offered in some locations only, see [IPv6](/faq/ipv6).




## OpenAPI

````yaml get /servers/{server}/ipv6
openapi: 3.1.0
info:
  title: APIFiddle Sample Definition
  version: 0.0.0
  description: Example workspace
servers:
  - url: https://rdp.sh/api/v1
    description: Default production endpoint.
security: []
paths:
  /servers/{server}/ipv6:
    get:
      summary: Get IPv6 address
      description: |
        Shows the server's IPv6 address, or whether one can be enabled. IPv6 is
        offered in some locations only, see [IPv6](/faq/ipv6).
      operationId: getServerIpv6
      parameters:
        - $ref: '#/components/parameters/server'
      responses:
        '200':
          content:
            application/json:
              schema:
                type: object
                title: GetServerIpv6Ok
                required:
                  - status
                  - enabled
                  - available
                properties:
                  status:
                    type: boolean
                    examples:
                      - true
                  enabled:
                    type: boolean
                    description: Whether the server has an IPv6 address.
                    examples:
                      - false
                  available:
                    type: boolean
                    description: Whether IPv6 can be enabled for the server right now.
                    examples:
                      - true
                  unavailable_reason:
                    type:
                      - string
                      - 'null'
                    description: Why IPv6 cannot be enabled right now, or `null`.
                    examples:
                      - IPv6 address has already been assigned.
                  ipv6:
                    oneOf:
                      - $ref: '#/components/schemas/ipv6Address'
                      - type: 'null'
          description: The server's IPv6 address, or whether it can get one.
        '403':
          content:
            application/json:
              schema:
                type: object
                title: GetServerIpv6Unauthorized
                properties:
                  status:
                    type: boolean
                    examples:
                      - false
                  error:
                    type: string
                    examples:
                      - This action is unauthorized
          description: User does not own the server.
        '404':
          description: Server not found.
      security:
        - Authorization: []
components:
  parameters:
    server:
      in: path
      name: server
      schema:
        type: string
      required: true
  schemas:
    ipv6Address:
      type: object
      required:
        - address
        - prefix
      properties:
        address:
          type: string
          examples:
            - 2a12:a800:11:1:203:0:113:10
        prefix:
          type: integer
          description: The prefix length the server is configured with.
          examples:
            - 128
        gateway:
          type:
            - string
            - 'null'
          examples:
            - 2a12:a800:11::1
        assigned_at:
          type:
            - string
            - 'null'
          examples:
            - '2026-10-22T12:00:00+00:00'
      description: A server's IPv6 address.
  securitySchemes:
    Authorization:
      in: header
      name: Authorization
      type: apiKey
      description: |
        Your API key as it is, without `Bearer`. API access is off for new
        accounts: until it is turned on under Settings > API, every request
        answers `403` with `API access is turned off for this account. Turn it
        on under Settings > API.` If the account lists allowed IPs, a request
        from any other address answers `403` with `This API key is not allowed
        from <address>`.

````

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