Templates
Update Template
PATCH
/
v1
/
template
curl --request PATCH \
--url https://api.projectdiscovery.io/v1/template \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '{
"template": "<string>",
"template_id": "<string>",
"prompt": "<string>"
}'
{
"message": "<string>",
"status": true,
"template_id": "<string>",
"template_name": "<string>"
}
Authorizations
Body
application/json
Response
200
application/json
Example response
The response is of type object
.
Was this page helpful?
curl --request PATCH \
--url https://api.projectdiscovery.io/v1/template \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '{
"template": "<string>",
"template_id": "<string>",
"prompt": "<string>"
}'
{
"message": "<string>",
"status": true,
"template_id": "<string>",
"template_name": "<string>"
}
Assistant
Responses are generated using AI and may contain mistakes.