---
title: "Set Worker Pin"
method: PUT
path: "/worker/{worker_id}/pin"
tags: ["workers"]
---

# Set Worker Pin

`PUT /worker/{worker_id}/pin`

## Path parameters

- `worker_id` string, required

## Request body

- SetWorkerPinRequest
  - `pinned` boolean, required

## Response `200`

Successful Response

- PinWorkerResponse
  - `worker_id` string, required
  - `pinned` boolean, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/traversal/apis/fastapi.md) · [All operations](https://skmtc.net/traversal/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/traversal/fastapi/revisions/2134ebffd1ef/schema)
