PUT
/
helpcenter
/
collections
/
{helpcenterCollectionId}
/
toggle-publish
curl --request PUT \
  --url https://api.gleap.io/v3/helpcenter/collections/{helpcenterCollectionId}/toggle-publish \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'project: <project>' \
  --data '{
  "unpublished": true
}'
{
  "success": true
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

project
string
required

Path Parameters

helpcenterCollectionId
string
required

Body

application/json
unpublished
boolean
required

Response

200 - application/json
Ok
success
boolean
required