<filename>examples/recipient_lists/update_recipient_list.py<gh_stars>10-100
from sparkpost import SparkPost

sp = SparkPost()
response = sp.recipient_lists.update(
    'EXISTING_TEST_ID',
    name='Test Recipient list',
    recipients=[
        {
            'address': {
                'email': '<EMAIL>'
            }
        },
        {
            'address': {
                'email': '<EMAIL>'
            }
        },
        {
            'address': {
                'email': '<EMAIL>'
            }
        }
    ]
)
print(response)

<filename>examples/recipient_lists/update_recipient_list.py<gh_stars>10-100
from sparkpost import SparkPost

sp = SparkPost()
response = sp.recipient_lists.update(
    'EXISTING_TEST_ID',
    name='Test Recipient list',
    recipients=[
        {
            'address': {
                'email': '<EMAIL>'
            }
        },
        {
            'address': {
                'email': '<EMAIL>'
            }
        },
        {
            'address': {
                'email': '<EMAIL>'
            }
        }
    ]
)
print(response)
