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

`PUT /api/2/project/{projectIdOrKey}/properties/{propertyKey}`

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

The request containing value of the project'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.

- `id` (string)
- `key` (string)
- `value` (string)

Request body example:

```json
{
  "id": "string",
  "key": "string",
  "value": "string"
}
```

**Responses**

- `200` — Returned if the project property is successfully updated.
- `201` — Returned if the project property is successfully created.
- `400` — Returned if the project 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 project.
- `404` — Returned if the project with given key or id does not exist.
