> ## 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.

# Enable IPv6

> Gives the server an IPv6 address (/128), free of charge. The address is
derived from the server's IPv4 address, so it changes when the IPv4 address
does.

A Linux server takes the address at its next reboot. A Windows server takes
it at its next reboot when `reboot_required` is `true`, and that reboot also
sets the Administrator password to the one shown in the panel. Otherwise add
the address and gateway to its network adapter yourself, see [IPv6](/faq/ipv6).




## OpenAPI

````yaml post /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:
    post:
      summary: Enable IPv6
      description: >
        Gives the server an IPv6 address (/128), free of charge. The address is

        derived from the server's IPv4 address, so it changes when the IPv4
        address

        does.


        A Linux server takes the address at its next reboot. A Windows server
        takes

        it at its next reboot when `reboot_required` is `true`, and that reboot
        also

        sets the Administrator password to the one shown in the panel. Otherwise
        add

        the address and gateway to its network adapter yourself, see
        [IPv6](/faq/ipv6).
      operationId: enableServerIpv6
      parameters:
        - $ref: '#/components/parameters/server'
      responses:
        '201':
          content:
            application/json:
              schema:
                type: object
                title: EnableServerIpv6Ok
                required:
                  - status
                  - message
                  - reboot_required
                  - ipv6
                properties:
                  status:
                    type: boolean
                    examples:
                      - true
                  message:
                    type: string
                    examples:
                      - >-
                        IPv6 address 2a12:a800:11:1:203:0:113:10 has been
                        assigned. Please reboot your server.
                  reboot_required:
                    type: boolean
                    description: >
                      Whether the server takes the address at its next reboot.
                      `false`

                      for a Windows server that takes no network settings from
                      us: add

                      the address and gateway to its network adapter yourself.
                    examples:
                      - true
                  ipv6:
                    $ref: '#/components/schemas/ipv6Address'
          description: The IPv6 address was assigned.
        '403':
          content:
            application/json:
              schema:
                type: object
                title: EnableServerIpv6Unauthorized
                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.
        '409':
          content:
            application/json:
              schema:
                type: object
                title: EnableServerIpv6Conflict
                properties:
                  status:
                    type: boolean
                    examples:
                      - false
                  error:
                    type: string
                    examples:
                      - IPv6 address has already been assigned.
          description: >
            IPv6 cannot be enabled: the server already has an address, its
            location

            offers no IPv6, or the server is suspended or busy.
      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.