---
title: "Changes to Create or overwrite a document"
method: PUT
path: "/v1/data/{path}"
---

# Changes to Create or overwrite a document

`PUT /v1/data/{path}`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 2 of 6 revisions.

- **2022-01-20** `86bfce262f07`: 1 breaking
- **2021-05-10** `776ac11d1990`: 1 breaking

## Changes

- **2022-01-20** `86bfce262f07`: 1 breaking
  - added required request body
- **2021-05-10** `776ac11d1990`: 1 breaking
  - removed the request body

---

[Operation](https://skmtc.dev/open-policy-agent/apis/open-policy-agent-opa-rest-api/docs/v1/data/:path/put.md) - [API](https://skmtc.dev/open-policy-agent/apis/open-policy-agent-opa-rest-api.md) - [Page](https://skmtc.dev/open-policy-agent/apis/open-policy-agent-opa-rest-api/changes/v1/data/:path/put)
