---
title: "Update a server's name, tags, rules, channels"
method: PUT
path: "/api/v1/servers/{server_id}"
tags: ["resources"]
---

# Update a server's name, tags, rules, channels

`PUT /api/v1/servers/{server_id}`

## Request

- Base URL: `https://puzaricloud.in` (the document declares no server; this is the origin it was published from)
- URL: `https://puzaricloud.in/api/v1/servers/{server_id}`
- Auth: none declared

## Path parameters

- `server_id` integer, required

## Request body

- ServerIn
  - `name` string, required
  - `tags` string[]
  - `rules` object, nullable: alert rule overrides (same keys as the Alert rules tab); omitted keys keep defaults
  - `channel_ids` integer[]
  - `team_id` integer, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/puzaricloud/apis/vigil-api.md) · [All operations](https://skmtc.dev/puzaricloud/apis/vigil-api/llms.txt) · [OpenAPI document](https://skmtc.dev/puzaricloud/apis/vigil-api/revisions/1cb93f81f1a7?raw)
