Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

/rest/{version}/scans/{scanId}/metadata/{scanMetadataKeyId}/delete


Descriptor

Value

HTTP Method

POST

Description

Deletes scan metadata from scan

Required Permission

Manage Scan Metadata Keys

Version Introduced2.7.1


Request Header Parameters

Parameter

Value

Required

Description

Accept

String

Yes

A value of ‘application/json’ must be provided.

Sample Call:


Code Block
themeEclipse
curl --insecure -H 'Accept: application/json' -H "Authorization: APIKEY {apiKey}" -X POST http://localhost:8080/threadfix/rest/latest/scans/{scanId}/metadata/{scanMetadataKeyId}/delete


Sample Output:


Code Block
themeEclipse
{
    "message": "",
    "success": true,
    "responseCode": -1,
    "object": "Scan metadata deleted."
}


Page Tree
rootScans API