PATCH
/
v1
/
template
/
share
/
{template_id}
Update Shared Template
curl --request PATCH \
  --url https://api.projectdiscovery.io/v1/template/share/{template_id} \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '{
  "ttl": "<string>",
  "share_type": "<string>",
  "users": [
    123
  ],
  "emails": [
    "<string>"
  ],
  "organizations": [
    "<string>"
  ]
}'
{
  "message": "<string>",
  "result": {
    "expires_at": "2023-11-07T05:31:56Z",
    "organizations": [
      "<string>"
    ],
    "share_type": "<string>",
    "template_id": "<string>",
    "users_email": [
      "<string>"
    ]
  }
}

Authorizations

X-API-Key
string
header
required

Path Parameters

template_id
string
required

unique template ID

Body

application/json

Response

200
application/json

Example response

The response is of type object.