---
title: "Delete Invitation in a share."
method: DELETE
path: "/sentShares/{sentShareId}/sentShareInvitations/{sentShareInvitationId}"
tags: ["SentShareInvitation"]
---

# Delete Invitation in a share.

`DELETE /sentShares/{sentShareId}/sentShareInvitations/{sentShareInvitationId}`

Delete a sent share invitation

## Path parameters

- `sentShareId` string, required
- `sentShareInvitationId` string, required

## Query parameters

- `api-version` string, required

## Response `202`

Accepted

- OperationResponse — Response for long running operation.
  - `endTime` string, date-time — End time of the long running operation. Represented in the standard date-time format as defined by [RFC 3339](https://www.rfc-editor.org/rfc/rfc3339)
  - `error` PurviewShareErrorInfo — The purview share error body model.
    - `code` string, required — Code of the error
    - `details` PurviewShareErrorInfo[] — Nested details of the error model
    - `message` string, required — Message of the error
    - `target` string — Target of the error
  - `id` string — Job id of the long running operation
  - `startTime` string, date-time — Start time of the long running operation. Represented in the standard date-time format as defined by [RFC 3339](https://www.rfc-editor.org/rfc/rfc3339)
  - `status` 'Running' | 'TransientFailure' | 'Succeeded' | 'Failed' | 'NotStarted', required — States for long running operations.

## Other responses

- `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)
