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

---

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