---
title: "Replace all user group associations for a card"
method: PUT
path: "/v1/web/card/{cardId}/user-group"
tags: ["Card"]
---

# Replace all user group associations for a card

`PUT /v1/web/card/{cardId}/user-group`

## Path parameters

- `cardId` string, required

## Request body

- object
  - `userGroupIds` string[], required

## Response `200`

Default Response

- object[]
  - `cardId` string, required
  - `userGroupId` string, required
  - `userGroupName` string, required
  - `createdAt` string, date-time, required
  - `updatedAt` string, date-time, required

## Other responses

- `400` — Default Response
- `401` — The access to this resource has been denied
- `403` — The access to this resource is forbidden
- `404` — A service error has occurred
- `422` — A service error has occurred
- `default` — Catch-all error response for any unexpected internal errors

---

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