---
title: "Setting a project preference"
method: PUT
path: "/v1/user-preferences/project/{projectId}/{propertyName}"
tags: ["User Preferences"]
---

# Setting a project preference

`PUT /v1/user-preferences/project/{projectId}/{propertyName}`

## Path parameters

- `projectId` integer, required
- `propertyName` string, required

## Request body

- object
  - `propertyValue` unknown, required

## Response `200`

The preference was stored

- Success
  - `success` boolean, required

## Other responses

- `404` — The specified project does not exist

## Changes

- **2025-12-20** `022694254f0d` — 1 info
  - api operation id `setProjectUserPreference` was added
- **2025-10-27** `b11b54eea487` — 1 info
  - removed the non-success response with the status `403`
- **2025-08-20** `9d8cc5bc6b43` — 2 breaking
  - the request's body type changed from `any` to no type
  - the `propertyValue` request property type changed from `any` to no type
- **2025-03-13** `e8c2858fd4eb` — 2 breaking, 2 info
  - the request's body type changed from no type to `any`
  - the `propertyValue` request property type changed from no type to `any`
  - api operation id `setProjectUserPreference` removed and replaced with ``
  - added the non-success response with the status `403`

[Change history](https://skmtc.dev/getodk/apis/odk-central-api/changes/v1/user-preferences/project/:projectId/:propertyName/put.md)

---

[API](https://skmtc.dev/getodk/apis/odk-central-api.md) · [All operations](https://skmtc.dev/getodk/apis/odk-central-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/getodk/odk-central-api/revisions/dc3ccc706398/schema)
