Activate Web Spotlight

PUT https://manage.kontent.ai/v2/projects/:environment_id/web-spotlight/activate

Activate Web Spotlight for the specified environment. You can specify a custom content type to use for the Web Spotlight root, that is the root type. You can change the root type repeatedly if needed.

To activate Web Spotlight over API:

  • Your subscription must include Web Spotlight.
  • You need to use API keys with specific permissions. Either a Management API key with the Create, edit, and delete content and Manage environments permissions, or a Personal API key of a Project manager.

Request Body

{"root_type"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: OK

{&quot;enabled&quot;:true,&quot;root_type&quot;:{&quot;id&quot;:&quot;5c016d74-34ee-4614-b965-faa6a28433ce&quot;}}