---
title: "Update space property by id"
method: PUT
path: "/spaces/{space-id}/properties/{property-id}"
tags: ["Space Properties"]
---

# Update space property by id

`PUT /spaces/{space-id}/properties/{property-id}`

Update a space property by its id. 

**[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
Permission to access the Confluence site ('Can use' global permission) and 'Admin' permission for the space.

## Path parameters

- `space-id` integer, required
- `property-id` integer, required

## Request body

- SpacePropertyUpdateRequest
  - `key` string — Key of the space property
  - `value` unknown
  - `version` object — New version number and associated message
    - `number` integer — Version number of the new version. Should be 1 more than the current version number.
    - `message` string — Message to be associated with the new version.

## Response `200`

Returned if the space property was updated successfully.

- SpaceProperty
  - `id` string — ID of the space property.
  - `key` string — Key of the space property.
  - `value` unknown
  - `createdAt` string, date-time — RFC3339 compliant date time at which the property was created.
  - `createdBy` string — Atlassian account ID of the user that created the space property.
  - `version` object
    - `createdAt` string, date-time — RFC3339 compliant date time at which the property's current version was created.
    - `createdBy` string — Atlassian account ID of the user that created the space property's current version.
    - `message` string — Message associated with the current version.
    - `number` integer — The space property's current version number.

## Other responses

- `400` — Returned if an invalid request is provided.
- `401` — Returned if the authentication credentials are incorrect or missing from the request.
- `404` — Returned if the calling user does not have permission to view the specified space or the space was not found.

---

[API](https://skmtc.net/atlassian/apis/the-confluence-cloud-rest-api-v2.md) · [All operations](https://skmtc.net/atlassian/apis/the-confluence-cloud-rest-api-v2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/atlassian/the-confluence-cloud-rest-api-v2/revisions/451377c5a598/schema)
