---
title: "Assign Group"
method: POST
path: "/api/v1/session-policies/{id}/assignments/groups"
tags: ["Session Policy"]
---

# Assign Group

`POST /api/v1/session-policies/{id}/assignments/groups`

Assign a group to a session policy. Every member of the group becomes
 assigned to the policy; because group membership is expanded
 asynchronously, the per-user effect is eventually consistent (typically
 within a few minutes).

## Path parameters

- `id` string, required — The session policy to assign to.

## Request body

- C1ApiSessionPolicyV1SessionPolicyServiceAssignGroupRequestInput — The SessionPolicyServiceAssignGroupRequest message.
  - `groupAppEntitlementId` string, required — The group's app-entitlement ID. Every member of the group becomes assigned.

## Response `200`

Successful response

- C1ApiSessionPolicyV1SessionPolicyServiceAssignGroupResponse — The SessionPolicyServiceAssignGroupResponse message.

---

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