PUT
/
groups
/
{id}
curl --request PUT \
  --url https://cookiechimp.com/api/v1/groups/{id} \
  --header 'Authorization: <api-key>' \
  --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
}

Authorizations

Authorization
string
header
required

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

Unique identifier for the group