---
title: "Refresh a computer"
method: POST
path: "/api/v0/computers/{computerId}/refresh"
tags: ["Computers"]
---

# Refresh a computer

`POST /api/v0/computers/{computerId}/refresh`

Refreshes the Git credentials and related environment configuration on a managed computer from the owner's connected source-control integrations. BYOM computers are not modified and return `configured: 0`.

## Path parameters

- `computerId` string, required — Computer ID

## Response `200`

Response for status 200

- RefreshComputer200ResponseBody
  - `configured` number, required

## Other responses

- `401` — Response for status 401
- `403` — Response for status 403
- `404` — Response for status 404
- `500` — Response for status 500

---

[API](https://skmtc.net/factory/apis/factory-public-api.md) · [All operations](https://skmtc.net/factory/apis/factory-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/factory/factory-public-api/versions/684f94d47ca9/schema)
