---
title: "Set the System Info"
method: POST
path: "/api/sysinfo"
tags: ["peer"]
---

# Set the System Info

`POST /api/sysinfo`

This function is an API endpoint that allows a connected client to update its system information. It is tagged with "peer" for OpenAPI documentation.

## Parameters

- `request`: The request data, which includes the system information.

## Returns

If successful, this function returns a `String` with the message "SYSINFO_UPDATED".  <br> If the system info is not found, this function returns a `String` with the message "ID_NOT_FOUND".  <br>

## Errors

This function will return an error if the system is in maintenance mode, or if the system info is not found.

## Request body

- SystemInfo
  - `cpu` string, nullable
  - `hostname` string, nullable
  - `id` string, nullable
  - `memory` string, nullable
  - `os` string, nullable
  - `username` string, nullable
  - `uuid` string, nullable
  - `version` string, nullable
  - `ip` string, nullable

## Response `200`

---

[API](https://skmtc.dev/nesaku/apis/sctgdesk-api-server.md) · [All operations](https://skmtc.dev/nesaku/apis/sctgdesk-api-server/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/nesaku/sctgdesk-api-server/revisions/0388fec8a751/schema)
