The Algolia search webhook template has been updated to support unpublish. If you choose to add a content item to your search index when it's published, then the archiving webhook will now be configured to be triggered when the item is unpublished.
This only applies with “Publish” set up as the indexing event. If “Save” is set as the indexing event, then the delete webhook will be set to trigger on archive as before.