Security Monitoring

Delete resources from a batch migration

Delete resources from a batch migration. The request is all-or-nothing: it returns 404 Not Found if any resource does not exist, and 409 Conflict if any resource is in_progress or publishing. In both cases nothing is deleted. Duplicate resource IDs are ignored. Detection rules already published from the deleted resources are not deleted.

delete/api/v2/security_monitoring/batch-migrations/{batch_id}/resources

Request

Path parameters

batch_idstring uuid required
Example:7cdb3a75-64fb-46ce-9445-41969e78fe8e

The UUID of the batch migration.

Request body

Example request

{
  "data": {
    "attributes": {
      "resourceIds": [
        "c968cf83-56c2-4d54-a993-6c86dfb83527"
      ]
    },
    "type": "batchMigrationResources"
  }
}

Response

No Content

Changes

Changes to this operation have not been checked yet.