# Update a document

> Updates document content, title, path, metadata, or tags. Supplying `path` moves the document to a new logical path within the project.

<Heading
  as={"h1"}
  className={"openapi__heading"}
  children={"Update a document"}
>
</Heading>

<MethodEndpoint
  method={"patch"}
  path={"/api/v1/documents/{document_id}"}
  context={"endpoint"}
>
  
</MethodEndpoint>

Updates document content, title, path, metadata, or tags. Supplying `path` moves the document to a new logical path within the project.

<Heading
  id={"request"}
  as={"h2"}
  className={"openapi-tabs__heading"}
>
  <Translate id="theme.openapi.request.title">Request</Translate>
</Heading>

<ParamsDetails
  {...require("./update-document.ParamsDetails.json")}
>
  
</ParamsDetails>

<RequestSchema
  {...require("./update-document.RequestSchema.json")}
>
  
</RequestSchema>

<StatusCodes
  {...require("./update-document.StatusCodes.json")}
>
  
</StatusCodes>
