Description

This command provides functionality to delete subscribers in bulk, based on a list of subscriber IDs provided in a CSV file.

Data flow

Input

Input data is taken from the specified CSV file, which must contain a single column id with subscriber IDs to be deleted.

Output

Deleted subscribers’ entities are considered the desired output.

Arguments

--file-path - path to CSV file, required --batch - count of subscribers for one batch, not required, default=100

Command

Command Syntax

python manage.py delete_subscribers --file-path <file_path> --batch <batch_size>