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>",
  "slug": "<string>"
}
'
{
  "data": true
}

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
slug
string | null

Response

200 response

data
boolean
required