---
title: "Update policy group environments relationships"
method: PATCH
path: "/policy-groups/{policy_group}/relationships/environments"
tags: ["policy-group-environments"]
---

# Update policy group environments relationships

`PATCH /policy-groups/{policy_group}/relationships/environments`

## Path parameters

- `policy_group` string, required

## Response `204`

Successfully updated the policy group environments relationships.

## Other responses

- `404` — Environments or policy group not found, or user unauthorized to perform action.
- `4XX` — Client error.
- `5XX` — Server error.

---

[API](https://skmtc.net/scalr/apis/scalr-iacp-api.md) · [All operations](https://skmtc.net/scalr/apis/scalr-iacp-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/scalr/scalr-iacp-api/revisions/fc927526ad12/schema)
