PATCH
/
v2
/
template
/
user
/
upload
Bulk Update User Template
curl --request PATCH \
  --url https://api.projectdiscovery.io/v2/template/user/upload \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '{
  "templates": [
    {
      "dir": "<string>",
      "filename": "<string>",
      "template_id": "<string>"
    }
  ]
}'
{
  "success_count": 123,
  "failure_count": 123,
  "successful_items": [
    {
      "dir": "<string>",
      "filename": "<string>",
      "template_id": "<string>",
      "uri": "<string>"
    }
  ],
  "failed_items": [
    {
      "dir": "<string>",
      "filename": "<string>",
      "template_id": "<string>",
      "error": "<string>"
    }
  ]
}

Authorizations

X-API-Key
string
header
required

Body

application/json

Response

200
application/json

OK

The response is of type object.