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
| Key | Datatype | Required | Description |
|---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
{"enabled":true,"root_type":{"id":"5c016d74-34ee-4614-b965-faa6a28433ce"}}