---
title: "Update Value"
method: PUT
path: "/v1/dimensions/values/{value_id}"
tags: ["Agent Environment", "demographics"]
---

# Update Value

`PUT /v1/dimensions/values/{value_id}`

Update a value.

Requires super admin permission.

## Path parameters

- `value_id` string, uuid, required

## Request body

- DemographicValueUpdate — Request model for updating a demographic value.
  - `value` string, nullable
  - `display_name` string, nullable
  - `metadata` object, nullable
  - `sort_order` integer, nullable

## Response `200`

Successful Response

- DemographicValue — A value within a demographic dimension. Example: For dimension "race", values might be "White", "Black", "Asian", etc. These are used for prompt template variable substitution in bias testing.
  - `id` string, uuid, required
  - `dimension_id` string, uuid, required
  - `value` string, required
  - `display_name` string, nullable
  - `value_metadata` object, nullable
  - `sort_order` integer
  - `created_at` integer, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/vijilai/apis/vijil-console-api-combined.md) · [All operations](https://skmtc.net/vijilai/apis/vijil-console-api-combined/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/vijilai/vijil-console-api-combined/versions/a8b2ee2b2d06/schema)
