---
title: "Set groups for a Trust Center subscriber"
method: PUT
path: "/trust-centers/{slugId}/subscribers/{subscriberId}/groups"
tags: ["Trust Centers"]
---

# Set groups for a Trust Center subscriber

`PUT /trust-centers/{slugId}/subscribers/{subscriberId}/groups`

Sets groups on a subscriber.

## Path parameters

- `slugId` string, required
- `subscriberId` string, required

## Request body

- SetGroupsForTrustCenterSubscriberInput
  - `groupIds` string[], required — Group IDs to set for the subscriber. The subscriber will be removed from any groups not included in this list.

## Response `200`

Trust Center subscriber assigned to groups

- TrustCenterSubscriber
  - `id` string, required — Unique identifier for the subscriber.
  - `email` string, required — Email of the subscriber.
  - `isEmailVerified` boolean, required — Whether the subscriber's email has been verified.
  - `creationDate` string, date-time, required — When the subscriber was created.
  - `customerTrustAccountId` string, nullable, required — The ID of the customer trust account this subscriber is linked to, if any.
  - `groups` SubscriberGroup[], required — Groups this subscriber belongs to.
    - `id` string, required — Unique identifier for the group.
    - `name` string, required — Name of the group.

---

[API](https://skmtc.net/vanta/apis/build-integrations.md) · [All operations](https://skmtc.net/vanta/apis/build-integrations/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/vanta/build-integrations/versions/6c1f7590538b/schema)
