Skip to main content
PUT
/
published
/
domain
/
{slug}
Update a published domain
curl --request PUT \
  --url https://app.myhero.so/published/domain/{slug} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "newSlug": "<string>",
  "newPassword": "<string>",
  "newDisabled": true,
  "newHomepage": "<string>"
}
'
{
  "data": true
}

Authorizations

Authorization
string
header
required

HERO personal access token

Path Parameters

slug
string
required
Minimum string length: 1

Body

application/json
newSlug
string
Minimum string length: 1
newPassword
string
newDisabled
boolean
newHomepage
string

Response

200 response

data
enum<boolean>
required
Available options:
true