---
title: "Update PlanGroupLink"
method: PUT
path: "/organizations/{orgId}/plangrouplinks/{id}"
tags: ["PlanGroupLink"]
---

# Update PlanGroupLink

`PUT /organizations/{orgId}/plangrouplinks/{id}`

Update PlanGroupLink for the given UUID.

## Path parameters

- `orgId` string, required
- `id` string, required

## Request body

- PlanGroupLinkRequest
  - `version` integer — The version number of the entity: - **Create entity:** Not valid for initial insertion of new entity - *do not use for Create*. On initial Create, version is set at 1 and listed in the response. - **Update Entity:** On Update, version is required and must match the existing version because a check is performed to ensure sequential versioning is preserved. Version is incremented by 1 and listed in the response.
  - `planGroupId` string, required
  - `planId` string, required

## Response `200`

Return the updated PlanGroup

- PlanGroupLinkResponse
  - `id` string, required — The UUID of the entity.
  - `version` integer — The version number: - **Create:** On initial Create to insert a new entity, the version is set at 1 in the response. - **Update:** On successful Update, the version is incremented by 1 in the response.
  - `planGroupId` string — ID of the linked PlanGroup
  - `planId` string — ID of the linked Plan
  - `dtCreated` string, date-time — The DateTime *(in ISO-8601 format)* when the plan group link was created.
  - `dtLastModified` string, date-time — The DateTime *(in ISO-8601 format)* when the plan group link was last modified.
  - `createdBy` string — The id of the user who created this plan group link.
  - `lastModifiedBy` string — The id of the user who last modified this plan group link.

## Other responses

- `4XX` — Error message
- `5XX` — Error message

---

[API](https://skmtc.net/m3ter-com/apis/m3ter-api.md) · [All operations](https://skmtc.net/m3ter-com/apis/m3ter-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/m3ter-com/m3ter-api/versions/ac93d1a9e6d9/schema)
