---
title: "PUT /contactGroupDefinitions/{contactGroupDefinitionName}"
method: PUT
path: "/contactGroupDefinitions/{contactGroupDefinitionName}"
tags: ["ContactGroupDefinition"]
---

# PUT /contactGroupDefinitions/{contactGroupDefinitionName}

`PUT /contactGroupDefinitions/{contactGroupDefinitionName}`

Creates or updates a contact group definition entity.

## Path parameters

- `contactGroupDefinitionName` string, required

## Query parameters

- `api-version` string, required

## Request body

- ContactGroupDefinition — ContactGroupDefinition resource.
  - `contactGroupType` 'Custom' | 'System' — Gets or sets the contact group definition type.
  - `description` string — Gets or sets the description.
  - `friendlyName` string — Gets or sets the friendly name.
  - `name` string — Gets the name.

## Response `200`

Success

- ContactGroupDefinition — ContactGroupDefinition resource.
  - `contactGroupType` 'Custom' | 'System' — Gets or sets the contact group definition type.
  - `description` string — Gets or sets the description.
  - `friendlyName` string — Gets or sets the friendly name.
  - `name` string — Gets the name.

## Other responses

- `default` — An error response received from the provider.

---

[API](https://skmtc.net/azure/apis/purview-account.md) · [All operations](https://skmtc.net/azure/apis/purview-account/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/azure/purview-account/versions/dc51c3b3ddf7/schema)
