deleteIndex to remove the index and its
documents.
Required fields: sourceId
Example request
400whensourceIdis missing.404if the web source is not found.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Remove a web source and stop its scheduled re-crawls.
deleteIndex to remove the index and its
documents.
Required fields: sourceId
| Field | Type | Required | Notes |
|---|---|---|---|
sourceId | string | ✅ | Web source ID returned by createWebSource or listWebSources. |
curl -X POST "https://service.usemoss.dev/v1/manage" \
-H "Content-Type: application/json" \
-H "x-service-version: v1" \
-H "x-project-key: moss_access_key_xxxxx" \
-d '{
"action": "deleteWebSource",
"projectId": "project_123",
"sourceId": "7f2a9c04-3b1e-4c8a-9d2f-1e5b6a7c8d90"
}'
{
"deleted": true,
"id": "7f2a9c04-3b1e-4c8a-9d2f-1e5b6a7c8d90"
}
400 when sourceId is missing.404 if the web source is not found.