---
title: "Create or replace a sent share."
method: PUT
path: "/sentShares/{sentShareId}"
tags: ["SentShare"]
---

# Create or replace a sent share.

`PUT /sentShares/{sentShareId}`

Create or replace a sent share

## Path parameters

- `sentShareId` string, required

## Query parameters

- `api-version` string, required

## Request body

- SentShare — Base data transfer object implementation for proxy resources.
  - `id` string — The unique id of the resource.
  - `type` string — Type of the resource.

## Response `200`

Success

- SentShare — Base data transfer object implementation for proxy resources.
  - `id` string — The unique id of the resource.
  - `type` string — Type of the resource.

## Other responses

- `201` — Success
- `default` — Default error response.

---

[API](https://skmtc.net/azure/apis/purview-share.md) · [All operations](https://skmtc.net/azure/apis/purview-share/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/azure/purview-share/revisions/79b396164f79/schema)
