---
title: "Replace multiple user preferences"
method: PUT
path: "/api/preferences/"
tags: ["Preferences"]
---

# Replace multiple user preferences

`PUT /api/preferences/`

Replace multiple user preferences. Replaces the target resource or assignment with the supplied JSON representation.

## Request body

- SetPreferencesRequest — set Preferences Request payload accepted by the API.
  - `preferences` object, required — Collection of preference values.

## Response `200`

Preferences

- PreferencesResponse — preferences Response payload returned by the API.
  - `preferences` PreferenceResponse[], required — Collection of preference values.
    - `key` string, required — key value for the preference Response object.
    - `value` string, required — value value for the preference Response object.
    - `updatedAt` string — Time when the preference was last updated.

## Other responses

- `default` — Error response

---

[API](https://skmtc.dev/ibuildthecloud/apis/discobot-server-api.md) · [All operations](https://skmtc.dev/ibuildthecloud/apis/discobot-server-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/ibuildthecloud/discobot-server-api/revisions/4de3fcd6be56/schema)
