1. Content Management API

Features

You can turn features on and off using the Content Hub ONE app if you have the necessary permissions, or you can use the API. Each feature has a Boolean setting (true or false) that controls the availability of the feature. When you turn a feature off, associated settings become unavailable, but you can still see the feature in the app. Currently, you can only turn the following AI-assisted features on and off:

Turn a feature on or off

Use this method to turn features on or off. In this example, the aiForContentItem feature is turned on and the aiForContentType feature is turned off.

curl --location --request PATCH '<BASE_URL>/api/content/v1/settings?pageNumber=1&pageSize=10' \
--header 'Content-Type: application/json' \
--header 'Authorization: <BEARER_TOKEN>
--data '{
  "featureToggles":{
    "aiForContentItem": true
  }
}'
{
    "localization": {
        "defaultLocale": "en-US"
    },
    "featureToggles": {
        "aiForContentItem": true,
        "aiForContentType": false
    }
}
If you have suggestions for improving this article, let us know!