Skip to main content
PATCH
/
customer-groups
/
{customerGroupId}
Edit Customer Group
curl --request PATCH \
  --url https://api.mijnklantportaal.nl/v1/customer-groups/{customerGroupId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "Hosting customers"
}'
{
  "id": "cug_abc12345def678",
  "name": "Webhosting customers",
  "createdAt": "2025-07-27T14:42:00+02:00"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

customerGroupId
string
required

ID of the customer group to edit

Body

application/json
name
string
required

Name of the Customer Group

Example:

"Hosting customers"

Response

Getting the changed customer group

Customer Group

id
string

ID of the customer group, always starting with cug_.

Example:

"cug_abc12345def678"

name
string

Name of the customer group

Example:

"Webhosting customers"

createdAt
string

Date and time when the customer group was created, written in ATOM format.

Example:

"2025-07-27T14:42:00+02:00"

I