---
title: "Update Shared Template"
method: PATCH
path: "/v1/template/share/{template_id}"
---

# Update Shared Template

`PATCH /v1/template/share/{template_id}`

## Request body

- object
  - `ttl` string
  - `share_type` string
  - `users` integer[]
  - `emails` string[]
  - `organizations` string[]

## Response `200`

Example response

- object
  - `message` string, required
  - `result` SharedTemplateMetaData, required
    - `expires_at` string, date-time
    - `organizations` string[]
    - `share_type` string
    - `template_id` string
    - `users_email` string[]

## Other responses

- `400` — Example response
- `401` — Example response
- `500` — Example response
- `default` — Example response

## Changes

- **2025-08-13** `c41cd7ae7718` — 1 info
  - endpoint added
- **2023-12-05** `5c3748c387f7` — 1 breaking
  - api removed without deprecation

[Change history](https://skmtc.dev/projectdiscovery/apis/pdcp-api/changes/v1/template/share/:template_id/patch.md)

---

[API](https://skmtc.dev/projectdiscovery/apis/pdcp-api.md) · [All operations](https://skmtc.dev/projectdiscovery/apis/pdcp-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/projectdiscovery/pdcp-api/revisions/220f0adf9efd/schema)
