PATCH
/
v1
/
assets
/
{asset_id}
/
contents
curl --request PATCH \
  --url https://api.projectdiscovery.io/v1/assets/{asset_id}/contents \
  --header 'Content-Type: application/octet-stream' \
  --header 'X-API-Key: <api-key>'
{
  "message": "<string>",
  "update_status": "<string>"
}

Authorizations

X-API-Key
string
header
required

Headers

X-Team-Id
string

Retrieve the Team ID from: https://cloud.projectdiscovery.io/settings/team

Content-Type
string

set the content type header

Path Parameters

asset_id
string
required

Query Parameters

update_type
enum<string>

use append or replace

Available options:
append,
replace

Body

application/octet-stream · file

The body is of type file.

Response

200
application/json
Example response
message
string
required
update_status
string