---
title: "Create or update groups configuration"
method: POST
path: "/resources/groups/v1/config"
tags: ["User groups"]
---

# Create or update groups configuration

`POST /resources/groups/v1/config`

## Request

- Base URL: `http://localhost:8181`
- URL: `http://localhost:8181/resources/groups/v1/config`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/frontegg/apis/entitlements-agent-pdp/docs/resources/groups/v1/config/post.ts> (a function with typed inputs; its response is checked against the schema)

This route creates or updates the user group configuration for a vendor.

## Request body

- CreateOrUpdateGroupConfigurationDto
  - `enabled` boolean: Determine whether groups are enabled/disabled. Default value is true.
  - `rolesEnabled` boolean: Determine whether groups can have roles or not. Default value is true.

## Response `201`

---

[API](https://skmtc.dev/frontegg/apis/entitlements-agent-pdp.md) - [All operations](https://skmtc.dev/frontegg/apis/entitlements-agent-pdp/llms.txt) - [OpenAPI document](https://skmtc.dev/frontegg/apis/entitlements-agent-pdp/revisions/c496ae9e1c3e?raw)
