---
title: "Star or unstar currently authorized work with an expected version"
method: PUT
path: "/v1/workspace/stars"
---

# Star or unstar currently authorized work with an expected version

`PUT /v1/workspace/stars`

## Request

- Base URL: `https://api.specstream.ai`
- URL: `https://api.specstream.ai/v1/workspace/stars`
- Auth: API key in header `Authorization`

## Request body

- WorkspaceStarWrite
  - `expected_version` integer, required
  - `item` WorkspaceStarItem, required
    - `id` string, required
    - `name` string, required
    - `route` string, required
  - `starred` boolean, required

## Response `200`

Star or unstar currently authorized work with an expected version

- object
  - `data` WorkspaceStarList, required
    - `version` integer, required
    - `starred` WorkspaceStarItem[], required
      - `id` string, required
      - `name` string, required
      - `route` string, required

## Other responses

- `default`: Error envelope

---

[API](https://skmtc.dev/specstream/apis/specstream-api.md) · [All operations](https://skmtc.dev/specstream/apis/specstream-api/llms.txt) · [OpenAPI document](https://skmtc.dev/specstream/apis/specstream-api/revisions/5a9f51143a13?raw)
