API Reference
Reference for the API
Update a group by ID. Requires a partner API token. Note that max_pageviews_per_month cannot be changed after creation.
max_pageviews_per_month
cURL
curl --request PUT \ --url https://cookiechimp.com/api/v1/groups/{id} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "name": "<string>", "external_id": "<string>" } '
{ "id": "abc123", "name": "Example Ltd", "external_id": "ABC_123", "partner": "partner_one", "max_pageviews_per_month": 500000 }
API token obtained from the login endpoint or the dashboard
ID of the resource
Group to update
Name of the group
External ID set by the partner
Updated group
Maximum number of pageviews per month
Unique identifier for the group
Was this page helpful?