Skip to main content
PATCH
/
v1
/
host
/
{namespace}
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" }'

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.
namespace
string
required
Hosted PDF namespace.
title
string
New title.
source
object
New source file or document reference.
replace
boolean
Set true when repointing the namespace to another source.
access
object
Access settings.
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" }'