curl --request PATCH \
--url https://api-v1.maverickintelligence.co/v1/partner/domains \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"domain": "acme-stories.example.com",
"action": "deactivate"
}
'{
"success": true,
"domain": "<string>",
"status": "active",
"clientRef": "<string>",
"allowedPaths": [
"<string>"
],
"rejected": [
"<string>"
],
"trackingSyncPending": true
}Partner Management API
Update a Partner Domain
Changes one tracked site in your partner account. Send the domain and one action:
activateturns tracking back on for a paused site.deactivatepauses tracking. The site stays registered, soactivateturns it back on.updateRefchanges the site’sclientRef. Send an emptyclientRefto remove it.updatePathslimits tracking to the pages inallowedPaths. Each entry is a path (/pricing), a wildcard (/blog/*) or a regular expression starting with~(~^/(plans|pricing)). Up to 50 rules; send[]to track the whole site again. Valid rules are saved even if some are rejected; the rejected ones are listed inrejected. If every rule is invalid, nothing changes and the call returns400.
Activating and deactivating update the installed pixel within a few minutes;
trackingSyncPending is true until that finishes. Uses the partner management key.
PATCH
/
v1
/
partner
/
domains
curl --request PATCH \
--url https://api-v1.maverickintelligence.co/v1/partner/domains \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"domain": "acme-stories.example.com",
"action": "deactivate"
}
'{
"success": true,
"domain": "<string>",
"status": "active",
"clientRef": "<string>",
"allowedPaths": [
"<string>"
],
"rejected": [
"<string>"
],
"trackingSyncPending": true
}Authorizations
Body
application/json
Response
Site updated. Which fields are returned depends on the action.