cURL
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>' \ --data '"<string>"'
{ "message": "<string>", "update_status": "<string>" }
Update existing asset content
Retrieve the Team ID from: https://cloud.projectdiscovery.io/settings/team
set the content type header
use append or replace
append
replace
The body is of type file.
file
Example response