---
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
    - `is_default` boolean, required — Whether this is the default workspace

## Other responses

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

---

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