---
title: "Delete a template share"
method: DELETE
path: "/v2/shared_templates/{shareId}"
tags: ["Shared templates"]
---

# Delete a template share

`DELETE /v2/shared_templates/{shareId}`

## Request

- Base URL: `https://api.sigmacomputing.com`
- URL: `https://api.sigmacomputing.com/v2/shared_templates/{shareId}`
- Auth: HTTP bearer

Remove a template shared with your organization.

  **Usage notes**
  - Retrieve the **shareId** by calling the [/v2/shared_templates/shared_with_you](https://help.sigmacomputing.com/reference/list-templates-shared-with-you) endpoint and using the `shareId` included in the response.

## Path parameters

- `shareId` string, required

## Response `200`

The response body.

- SharedTemplatesDeleteExternalShareResponse200

---

[API](https://skmtc.dev/sigmacomputing/apis/sigma-rest-api.md) - [All operations](https://skmtc.dev/sigmacomputing/apis/sigma-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/sigmacomputing/apis/sigma-rest-api/revisions/fb6036208c49?raw)
