---
title: "User Group - Update Policy Mapping"
method: PUT
path: "/setup/access/userGroup/{userGroupId}/policyMapping"
tags: ["Organizations"]
---

# User Group - Update Policy Mapping

`PUT /setup/access/userGroup/{userGroupId}/policyMapping`

Update the mapping of a given user group to policies

## Parameters

- `#/paths/~1setup~1access~1userGroup~1%7BuserGroupId%7D/get/parameters/0` — unresolved $ref

## Request body

- object
  - `policies` object[] — Existing policies to assign to this group.
    - `policyId` string — The existing policy to assign to this group.
    - `accountIds` string[] — The accounts to assign to this group. Use "*" if you want to include all current accounts and any accounts created in the future.

## Other responses

- `400` — Bad Request

---

[API](https://skmtc.net/spot/apis/spot-by-flexera-api.md) · [All operations](https://skmtc.net/spot/apis/spot-by-flexera-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/spot/spot-by-flexera-api/revisions/2e5445f30576/schema)
