---
title: "Lock server"
method: POST
path: "/servers/{server_id}/lock"
tags: ["Servers"]
---

# Lock server

`POST /servers/{server_id}/lock`

Locks the server. A locked server cannot be deleted or modified and no actions can be performed on it.

## Path parameters

- `server_id` string, required

## Response `200`

Success

## Changes

- **2026-08-18** `6ad8dacf6642` — 1 info
  - added the optional property `data/attributes/prefix` to the response with the `200` status
- **2026-08-11** `0fa29f45808b` — 1 info
  - added the optional property `data/attributes/bond_eligible` to the response with the `200` status
- **2026-08-05** `ae7dcb22727c` — 1 info
  - added the optional property `data/attributes/team/limits/prefix` to the response with the `200` status
- **2026-07-21** `885dec47dd47` — 1 breaking, 5 info
  - the response property `data/attributes/ipmi_status` became nullable for the status `200`
  - added the optional property `data/attributes/price` to the response with the `200` status
  - added the optional property `data/attributes/project/stats/databases` to the response with the `200` status
  - added the optional property `data/attributes/project/stats/storages` to the response with the `200` status
  - …2 more

[Change history](https://skmtc.dev/latitude/apis/latitude-sh-api/changes/servers/:server_id/lock/post.md)

---

[API](https://skmtc.dev/latitude/apis/latitude-sh-api.md) · [All operations](https://skmtc.dev/latitude/apis/latitude-sh-api/llms.txt) · [OpenAPI document](https://skmtc.dev/latitude/apis/latitude-sh-api/revisions/6ad8dacf6642?raw)
