Skip to main content
PUT
/
published
/
{publishedId}
/
settings
Update published document settings
curl --request PUT \
  --url https://app.myhero.so/published/{publishedId}/settings \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "styling": {},
  "domainSlug": "<string>"
}
'
{
  "data": true
}

Documentation Index

Fetch the complete documentation index at: https://developers.myhero.so/llms.txt

Use this file to discover all available pages before exploring further.

Persists per-document published settings — custom styling key/value pairs and the domainSlug — for the document identified by publishedId. Requires edit access to the document.

Authorizations

Authorization
string
header
required

HERO personal access token

Path Parameters

publishedId
string
required
Minimum string length: 1

Body

application/json
styling
object
domainSlug
string

Response

200 response

data
boolean
required