---
title: "Update server"
method: PATCH
path: "/servers/{server_id}"
tags: ["Servers"]
---

# Update server

`PATCH /servers/{server_id}`

## Path parameters

- `server_id` string, required

## Request body

- object
  - `data` object
    - `id` string
    - `type` 'servers'
    - `attributes` object
      - `hostname` string
      - `billing` 'hourly' | 'monthly' | 'yearly', nullable — The server billing type. Accepts `hourly` and `monthly` for on demand projects and `yearly` for reserved projects.
      - `tags` string[], nullable — List of Tag IDs
      - `project` string — Project ID or slug to move the server to

## Response `200`

Success

---

[API](https://skmtc.net/latitude/apis/latitude-sh-api.md) · [All operations](https://skmtc.net/latitude/apis/latitude-sh-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/latitude/latitude-sh-api/versions/7302d79e39bb/schema)
