---
title: "Create or replace a feature"
method: PUT
path: "/spaces/{spaceId}/features/{featureId}"
tags: ["Write Features"]
---

# Create or replace a feature

`PUT /spaces/{spaceId}/features/{featureId}`

Creates or replaces a feature in the space.

## Path parameters

- `spaceId` string, required
- `featureId` string, required

## Query parameters

- `versionRef` string

## Response `200`

A feature response.

## Other responses

- `400` — Malformed or Bad Request.
- `401` — Unauthorized to perform the request.
- `403` — Forbidden request. Insufficient rights to perform the request.
- `409` — An error response which indicates a conflict.
- `413` — Request entity too large.
- `513` — Response payload too large.

---

[API](https://skmtc.net/here/apis/here-xyz-hub.md) · [All operations](https://skmtc.net/here/apis/here-xyz-hub/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/here/here-xyz-hub/revisions/1c6c6a2bcac9/schema)
