> ## Documentation Index
> Fetch the complete documentation index at: https://docs.okrapdf.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Update Hosted PDF

> Update title, source, or access settings for a hosted PDF.

## Overview

Update a hosted PDF title, repoint an owned deployment hostname to another PDF with `replace: true`, or change access settings such as unlisted, disabled, expiry, password, download availability, and indexing.

<ParamField path="namespace" type="string" required>
  Hosted PDF namespace.
</ParamField>

<ParamField body="title" type="string">
  New title.
</ParamField>

<ParamField body="source" type="object">
  New source file or document reference.
</ParamField>

<ParamField body="replace" type="boolean">
  Set true when repointing the namespace to another source.
</ParamField>

<ParamField body="access" type="object">
  Access settings.
</ParamField>

<RequestExample>
  ```bash theme={null}
  curl -X PATCH https://api.okrapdf.com/v1/host/acme-report \
    -H "Authorization: Bearer $OKRA_API_KEY" \
    -H "Content-Type: application/json" \
    -d '{ "title": "Acme Report v2" }'
  ```
</RequestExample>
