Skip to main content

Deleting a recommendation configuration (Graniitti API)

warning

Deleting a recommendation configuration permanently deletes the configuration and all associated recommendation data from your site. You can no longer use the data in modifications, and you can no longer access the configuration in the Frosmo Control Panel or with the Graniitti API. Before deleting a recommendation configuration, make sure you no longer need the configuration.

To delete a recommendation configuration for a site, make a Graniitti API DELETE request to /sites/<site_id>/recommendations/<recommendation_id>, where <recommendation_id> is the ID of the recommendation configuration.

curl -X DELETE \
--header 'Authorization: Bearer <access_token>' \
'https://<graniitti_api_base_url>/sites/<site_id>/recommendations/<recommendation_id>'

If the request is successful, the Frosmo Platform deletes the recommendation.