Read matches for string queries by ID
client.brandProtection.matches.get(MatchGetParams { account_id, id, include_domain_id, 2 more } params, RequestOptionsoptions?): MatchGetResponse { matches, total }
GET/accounts/{account_id}/brand-protection/matches
Return matches 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)
Read 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 match = await client.brandProtection.matches.get({ account_id: 'x' });
console.log(match.matches);{
"matches": [
{
"foo": "bar"
}
],
"total": 0
}Returns Examples
{
"matches": [
{
"foo": "bar"
}
],
"total": 0
}