---
title: "Share Template"
method: POST
path: "/v1/template/share"
---

# Share Template

`POST /v1/template/share`

## Request body

- object
  - `template_id` string
  - `is_public` boolean

## Response `200`

Example response

- object

## Other responses

- `201` — Created
- `401` — Example response
- `500` — Internal Server Error

## Changes

- **2023-12-05** `5c3748c387f7` — 4 breaking, 5 warning, 6 info
  - removed the media type `application/json` for the response with the status `500`
  - removed the required property `message` from the response with the `200` status
  - removed the required property `message` from the response with the `401` status
  - removed the required property `result` from the response with the `200` status
  - …11 more

[Change history](https://skmtc.dev/projectdiscovery/apis/pdcp-api/changes/v1/template/share/post.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/cd865d59d034/schema)
