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>"
}
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>"
}
Example response
The response is of type object
.
Was this page helpful?