Skip to main content
PUT
/
groups
/
{id}
Update group
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
}

Documentation Index

Fetch the complete documentation index at: https://docs.cookiechimp.com/docs/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

API token obtained from the login endpoint or the dashboard

Path Parameters

id
string
required

ID of the resource

Body

application/json

Group to update

name
string
required

Name of the group

external_id
string
required

External ID set by the partner

Response

200 - application/json

Updated group

name
string
required

Name of the group

external_id
string
required

External ID set by the partner

max_pageviews_per_month
integer
required

Maximum number of pageviews per month

id
string
read-only

Unique identifier for the group