Add a suppressed email

Using the SDK

from cakemail.models import SuppressedEmail

suppressed_email = api.suppressed_email.create(
    SuppressedEmail(email='<email address>')
)
<?php

$suppressedEmail = $api->suppressed_email->create([
    'suppressed_email' => new \Cakemail\Lib\Model\SuppressedEmail([
        'email' => '<email address>'
    ])
]);
Language
Authorization
OAuth2
Click Try It! to start a request and see the response here!