---
title: "Share a style with your workspace"
method: POST
path: "/styles/{id}/share/workspace"
tags: ["Styles"]
---

# Share a style with your workspace

`POST /styles/{id}/share/workspace`

Share a style you own with your API workspace. All members of the workspace will be able to use the style.

## Path parameters

- `id` string, required — A unique identifier for a style

## Response `200`

Style shared with workspace successfully

- object — Response after sharing a style within a workspace
  - `success` boolean, required — Whether the operation succeeded
  - `style_id` string, required — The ID of the shared style
  - `workspace` object, required — The workspace the style was shared with
    - `id` string, required — Workspace ID
    - `name` string, nullable, required — Workspace name

## Other responses

- `401` — Unauthorized
- `403` — You do not own this style or are not a member of the workspace
- `404` — Style not found

## Changes

- **2026-09-11** `e2f24090969e` — 1 breaking
  - removed the required property `workspace/is_default` from the response with the `200` status
- **2026-09-05** `27a8a554d4fd` — 1 breaking, 1 info
  - the response property `workspace/name` became nullable for the status `200`
  - response property `workspace/name` list-of-types was narrowed by removing types `null` from media type `application/json` of response `200`

[Change history](https://skmtc.dev/krea/apis/krea-api/changes/styles/:id/share/workspace/post.md)

---

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