Clean up detection alert migrations
https://{kibana_url}
- DELETE /api/detection_engine/signals/migration
DEPRECATED. Cleanup API for old migration artifacts. Do not add new call sites. WARNING: This schedules deletions; ensure no production reads still point at the source index.
Migrations favor data integrity over shard size. Consequently, unused or orphaned indices are artifacts of the migration process. A successful migration can leave both the old and new indices present, so the old index may be deleted. While you can delete these indices manually, the endpoint applies a deletion policy to the relevant index, causing it to be deleted after 30 days, and removes other migration-specific artifacts.
Request
Array of migration_ids to cleanup
-
migration_idsstring · min: 1required -
Array of
migration_ids to cleanup.
Responses
Successful response
Response Type: object
-
destinationIndexstringrequired -
errorobject -
messagestringrequired -
status_codeintegerrequired -
idstringrequired -
sourceIndexstringrequired -
statusrequired -
Values:
successfailurepending -
updatedstringrequired -
versionstringrequired
Invalid input data response
-
errorstringrequired -
messagestringrequired -
statusCodeintegerrequired
-
messagestringrequired -
status_codeintegerrequired
Unsuccessful authentication response
-
errorstringrequired -
messagestringrequired -
statusCodeintegerrequired
Internal server error response
-
messagestringrequired -
status_codeintegerrequired