Sep 20, 2024
Enable a task
Enables a task.
Usage
Required ACL:
addObject, deleteIndex, editSettings
Copy
1
2
3
4
5
6
import { algoliasearch } from 'algoliasearch';
// Replace 'us' with your Algolia Application Region
const client = algoliasearch('ALGOLIA_APPLICATION_ID', 'ALGOLIA_API_KEY').initIngestion({ region: 'us' });
const response = await client.enableTask({ taskID: '76ab4c2a-ce17-496f-b7a6-506dc59ee498' });
Did you find this page helpful?