- Update the consent categories assigned to an audit
Get all the consent categories assigned to an audit
Retrieve all consent categories snapshots that are applied to a specific audit run.
Get consent category changes made since the run
Create or update consent categories found in the file uploaded previously
Upload a file with consent category configurations and preview the changes
Get all consent categories in the account
Create a consent category
Get a consent category
Update a consent category
Delete a consent category
Upsert notes for the given Consent Category
Get all tag entries of a consent category
Patch consent category tag entries
Get all request domains of a consent category
Patch consent category request domains
Reprocess consent-category for the selected auditId and runIds
Get all cookies of a consent category
Patch consent category cookie entries
Get audits assigned to the consent category
Modify audit attachments
Get all labels attached to specified consent category
Patch labels attached to specified consent category
request an export of all consent categories in the account
Update the consent catego...
PATCH /v3/web-audits/{auditId}/consent-categories
Update the consent categories assigned to an audit. Consent categories with different statuses (approved and unapproved) can be assigned to the same audit. Conflicts are resolved automatically: when an item matches consent categories with different statuses, unapproved takes precedence over approved.
Security
API_Key
- ObservePoint Production APIhttps://api.observepoint.com/v3/web-audits/{auditId}/consent-categories
curl -i -X PATCH \
https://api.observepoint.com/v3/web-audits/107239/consent-categories \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'Content-Type: application/json-patch+json' \
-d '[
[
{
"op": "add",
"path": "/-",
"value": 1
},
{
"op": "remove",
"path": "/",
"value": 2
}
]
]'Response
{ "consentCategories": [ { … } ] }