Download matches for string queries by ID
client.brandProtection.matches.download(MatchDownloadParams { account_id, id, include_domain_id, 2 more } params, RequestOptionsoptions?): MatchDownloadResponse { matches, total }
GET/accounts/{account_id}/brand-protection/matches/download
Return matches as CSV for string queries based on ID
Security
API Token
The preferred authorization scheme for interacting with the Cloudflare API. Create a token.
Example:
Accepted Permissions (at least one required)
Download matches for string queries by ID
import Cloudflare from 'cloudflare';
const client = new Cloudflare({
apiToken: process.env['CLOUDFLARE_API_TOKEN'], // This is the default and can be omitted
});
const response = await client.brandProtection.matches.download({ account_id: 'x' });
console.log(response.matches);{
"matches": [
{
"foo": "bar"
}
],
"total": 0
}Returns Examples
{
"matches": [
{
"foo": "bar"
}
],
"total": 0
}