---
title: "Update a Policy Group"
method: PUT
path: "/policygroups/{id}"
tags: ["Policy Groups"]
---

# Update a Policy Group

`PUT /policygroups/{id}`

## Request

- Base URL: `https://console.jumpcloud.com/api/v2`
- URL: `https://console.jumpcloud.com/api/v2/policygroups/{id}`
- Auth: API key in header `x-api-key`
- TypeScript: <https://skmtc.dev/jumpcloud/apis/jumpcloud-api-2/docs/policygroups/:id/put.ts> (a function with typed inputs; its response is checked against the schema)

This endpoint allows you to do a full update of the Policy Group.

#### Sample Request
```
curl -X PUT https://console.jumpcloud.com/api/v2/policygroups/{Group_ID} \
  -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -H 'x-api-key: {API_KEY}' \
  -d '{
    "name": "group_update"
  }'
```

## Headers

- `x-org-id` string

## Request body

- PolicyGroupData
  - `name` string, required: Display name of a Policy Group.

## Response `200`

OK

- PolicyGroup
  - `attributes` GraphAttributes, nullable: The graph attributes.
  - `description` string: Description of a Policy Group
  - `email` string: E-mail address associated with a Policy Group
  - `id` string: ObjectId uniquely identifying a Policy Group.
  - `name` string: Display name of a Policy Group.
  - `organizationObjectId` string, nullable: id of the organization owning this group
  - `type` 'policy_group': The type of the group; always 'policy' for a Policy Group.

---

[API](https://skmtc.dev/jumpcloud/apis/jumpcloud-api-2.md) - [All operations](https://skmtc.dev/jumpcloud/apis/jumpcloud-api-2/llms.txt) - [OpenAPI document](https://skmtc.dev/jumpcloud/apis/jumpcloud-api-2/revisions/3f09fe63caaa?raw)
