---
ai:
  exclude: true
search:
  tags:
    - user
    - PUT
seo:
  description: >-
    Sets the value of the specified… Reference for the PUT
    /api/2/user/properties/{propertyKey} endpoint in the Jira Software Data
    Center REST API Reference.
sidebar:
  label: Set the value of a specified user's property
  badge: PUT
title: Set the value of a specified user's property
type: openapi-operation
---
Sets the value of the specified user's property.
You can use this resource to store a custom data against the user identified by the key or by the id. The user
who stores the data is required to have permissions to administer the user.

`PUT /api/2/user/properties/{propertyKey}`

**Request body** (`application/json`)

The request containing value of the user's property. The value has to be a valid, non-empty JSON conforming to http://tools.ietf.org/html/rfc4627. The maximum length of the property value is 32768 bytes.

Request body example:

```json
"string"
```

**Responses**

- `200` — Returned if the user property is successfully updated.
- `201` — Returned if the user property is successfully created.
- `400` — Returned if the user key or id is invalid.
- `401` — Returned if the calling user is not authenticated.
- `403` — Returned if the calling user does not have permission to administer the user.
- `404` — Returned if the user with given key or id does not exist.
