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

# List Resize Options

> Returns the plans this server can resize to, with `amount_due_today` for each.



## OpenAPI

````yaml /api-reference/openapi.json get /servers/{server_id}/resize-options
openapi: 3.1.0
info:
  title: Arct Cloud API
  description: >-
    Manage Arct Cloud servers over HTTPS with an API token. Errors return an
    `error` object with `code`, `message` and `details`.
  version: 1.0.0
servers:
  - url: https://api.arct.cloud/v1
security: []
tags:
  - name: Account
    description: The account and token behind the request.
  - name: Servers
    description: List, read, create, update, power, reinstall, resize and delete servers.
  - name: Catalog
    description: Locations, plans and OS images you can order.
  - name: Invoices
    description: Your invoices.
  - name: SSH Keys
    description: Keys to install on new and reinstalled servers.
paths:
  /servers/{server_id}/resize-options:
    get:
      tags:
        - Servers
      summary: List Resize Options
      description: >-
        Returns the plans this server can resize to, with `amount_due_today` for
        each.
      operationId: get_server_resize_options_servers__server_id__resize_options_get
      parameters:
        - name: server_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
            title: Server Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResizeOptions'
        '401':
          description: '`invalid_token`, `token_disabled` or `token_expired`.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '403':
          description: '`account_disabled` or `api_access_disabled`.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: '`not_found`: unknown ID, or not yours.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '422':
          description: '`validation_error`; see `details.fields`.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '429':
          description: '`rate_limit_exceeded`; see `Retry-After`.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          description: '`internal_error`.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '503':
          description: '`service_unavailable`; retry later.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      security:
        - bearerAuth: []
components:
  schemas:
    ResizeOptions:
      properties:
        can_resize:
          type: boolean
          title: Can Resize
        blocked_code:
          anyOf:
            - type: string
            - type: 'null'
          title: Blocked Code
          description: Why `can_resize` is false, such as `no_payment_method`.
        blocked_reason:
          anyOf:
            - type: string
            - type: 'null'
          title: Blocked Reason
        current_plan:
          type: string
          title: Current Plan
        billing_period:
          type: string
          title: Billing Period
        current_price_period:
          anyOf:
            - type: number
            - type: 'null'
          title: Current Price Period
        period_end:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Period End
        days_left:
          anyOf:
            - type: integer
            - type: 'null'
          title: Days Left
          description: Days left in the billing period.
        card:
          anyOf:
            - $ref: '#/components/schemas/ResizeCard'
            - type: 'null'
          description: The card a resize charges.
        promo:
          anyOf:
            - $ref: '#/components/schemas/ResizePromo'
            - type: 'null'
        unpaid_invoice:
          anyOf:
            - $ref: '#/components/schemas/UnpaidInvoice'
            - type: 'null'
        pending_resize:
          anyOf:
            - $ref: '#/components/schemas/PendingResize'
            - type: 'null'
        plans:
          items:
            $ref: '#/components/schemas/ResizePlan'
          type: array
          title: Plans
      type: object
      required:
        - can_resize
        - blocked_code
        - blocked_reason
        - current_plan
        - billing_period
        - current_price_period
        - period_end
        - days_left
        - card
        - promo
        - unpaid_invoice
        - pending_resize
        - plans
      title: ResizeOptions
    ErrorResponse:
      properties:
        error:
          $ref: '#/components/schemas/ErrorDetail'
      type: object
      required:
        - error
      title: ErrorResponse
    ResizeCard:
      properties:
        brand:
          anyOf:
            - type: string
            - type: 'null'
          title: Brand
        last4:
          anyOf:
            - type: string
            - type: 'null'
          title: Last4
        exp_month:
          anyOf:
            - type: integer
            - type: 'null'
          title: Exp Month
        exp_year:
          anyOf:
            - type: integer
            - type: 'null'
          title: Exp Year
      type: object
      title: ResizeCard
    ResizePromo:
      properties:
        code:
          type: string
          title: Code
        discount_type:
          type: string
          title: Discount Type
        discount_value:
          type: number
          title: Discount Value
        label:
          type: string
          title: Label
      type: object
      required:
        - code
        - discount_type
        - discount_value
        - label
      title: ResizePromo
      description: >-
        The recurring promo code in effect on the server; it follows the server
        onto the new plan.
    UnpaidInvoice:
      properties:
        id:
          type: string
          format: uuid
          title: Id
        invoice_number:
          type: string
          title: Invoice Number
        total:
          type: number
          title: Total
        due_date:
          type: string
          format: date-time
          title: Due Date
        overdue:
          type: boolean
          title: Overdue
      type: object
      required:
        - id
        - invoice_number
        - total
        - due_date
        - overdue
      title: UnpaidInvoice
      description: A renewal invoice that must be paid before the server can be resized.
    PendingResize:
      properties:
        id:
          type: string
          format: uuid
          title: Id
        to_plan:
          type: string
          title: To Plan
        amount:
          type: number
          title: Amount
        status:
          type: string
          title: Status
        created_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Created At
      type: object
      required:
        - id
        - to_plan
        - amount
        - status
        - created_at
      title: PendingResize
    ResizePlan:
      properties:
        slug:
          type: string
          title: Slug
        name:
          type: string
          title: Name
        cpu_cores:
          type: integer
          title: Cpu Cores
        ram_gb:
          type: integer
          title: Ram Gb
        storage_gb:
          type: integer
          title: Storage Gb
        bandwidth_tb:
          type: integer
          title: Bandwidth Tb
        price_period:
          type: number
          title: Price Period
          description: Price per billing period, promo included, in USD.
        price_period_list:
          type: number
          title: Price Period List
          description: Price per billing period before promo, in USD.
        promo_applies:
          type: boolean
          title: Promo Applies
        is_current:
          type: boolean
          title: Is Current
        eligible:
          type: boolean
          title: Eligible
          description: True if the server can move to this plan.
        reason:
          anyOf:
            - type: string
            - type: 'null'
          title: Reason
        reason_label:
          anyOf:
            - type: string
            - type: 'null'
          title: Reason Label
        amount_due_today:
          anyOf:
            - type: number
            - type: 'null'
          title: Amount Due Today
          description: Prorated charge today, in USD.
      type: object
      required:
        - slug
        - name
        - cpu_cores
        - ram_gb
        - storage_gb
        - bandwidth_tb
        - price_period
        - price_period_list
        - promo_applies
        - is_current
        - eligible
        - reason
        - reason_label
        - amount_due_today
      title: ResizePlan
    ErrorDetail:
      properties:
        code:
          type: string
          title: Code
        message:
          type: string
          title: Message
        details:
          anyOf:
            - type: object
            - type: 'null'
          title: Details
      type: object
      required:
        - code
        - message
      title: ErrorDetail
  securitySchemes:
    bearerAuth:
      type: http
      description: API token from Dashboard > Settings > API Tokens.
      scheme: bearer
      bearerFormat: arct_...

````

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