POST
/
v1
/
asset
/
{asset_id}
/
labels
Add labels to an asset
curl --request POST \
  --url https://api.projectdiscovery.io/v1/asset/{asset_id}/labels \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '{
  "labels": [
    "<string>"
  ]
}'
{
  "message": "<string>"
}

Authorizations

X-API-Key
string
header
required

Headers

X-Team-Id
string

Path Parameters

asset_id
integer
required

Body

application/json

Response

200
application/json

Example response

The response is of type object.