---
title: "ShareToSpace"
method: POST
path: "/kythene.v1.KytheneService/ShareToSpace"
tags: ["kythene.v1.KytheneService"]
---

# ShareToSpace

`POST /kythene.v1.KytheneService/ShareToSpace`

## Request

- Base URL: `https://kythene.com` (the document declares no server; this is the origin it was published from)
- URL: `https://kythene.com/kythene.v1.KytheneService/ShareToSpace`
- Auth: none required

ShareToSpace maps a collection into another space the caller belongs to
 (multi-space collaboration: A and B push selected work into a shared AB
 space). Requires membership of both spaces.

## Headers

- `Connect-Protocol-Version` 1, required: Define the version of the Connect protocol
- `Connect-Timeout-Ms` number: Define the timeout, in ms

## Request body

- KytheneV1ShareToSpaceRequest
  - `collectionId` string: collection_id is the collection to map into the target space.
  - `spaceId` string: space_id is the TARGET space to map the collection into - an id or a name from list_spaces. (Do NOT confuse it with `space` below, which is the space you are acting FROM.)
  - `remove` boolean: remove unmaps the collection from space_id instead of mapping it in. It cannot remove the collection's origin space (the domain enforces this).
  - `space` string: space optionally selects which of your spaces to act in (an id or name from list_spaces). Omit it when you belong to a single space.

## Response `200`

Success

- KytheneV1ShareToSpaceResponse

## Other responses

- `default`: Error

---

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