---
title: "Removes the shareId and all associations from that share"
method: DELETE
path: "/componentmetadata/shares/{id}"
tags: ["component-metadata - shares"]
---

# Removes the shareId and all associations from that share

`DELETE /componentmetadata/shares/{id}`

Delete by shareId. Will un-share the associated component with the entity shared with.

## Path parameters

- `id` integer, required

## Response `200`

successful operation

- object
  - `shareId` integer
  - `success` object
    - `success` string

## Other responses

- `404` — The given shareId does not exist
- `500` — Unable to delete the given shareId.

## Changes

- **2022-05-10** `dcd4514630c4` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/adobe/apis/adobe-analytics-apis/changes/componentmetadata/shares/:id/delete.md)

---

[API](https://skmtc.dev/adobe/apis/adobe-analytics-apis.md) · [All operations](https://skmtc.dev/adobe/apis/adobe-analytics-apis/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/adobe/adobe-analytics-apis/revisions/dcd4514630c4/schema)
