You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adds an email to your email rejection allowlist. If the address is currently on your denylist, that denylist entry will be removed automatically. # noqa: E501
Adds an email to your email rejection allowlist. If the address is currently on your denylist, that denylist entry will be removed automatically. # noqa: E501
49
+
"""
50
+
51
+
all_params= ['body'] # noqa: E501
52
+
53
+
params=locals()
54
+
forkey, valinsix.iteritems(params['kwargs']):
55
+
ifkeynotinall_params:
56
+
raiseTypeError(
57
+
"Got an unexpected keyword argument '%s'"
58
+
" to method add"%key
59
+
)
60
+
params[key] =val
61
+
delparams['kwargs']
62
+
63
+
# add api_key to body params
64
+
params['body']['key'] =self.api_key
65
+
66
+
body_params=None
67
+
if'body'inparams:
68
+
body_params=params['body']
69
+
70
+
returnself.api_client.call_api(
71
+
'/allowlists/add', 'POST',
72
+
body=body_params,
73
+
response_type='InlineResponse200') # noqa: E501
74
+
75
+
defdelete(self, body= {}, **kwargs): # noqa: E501
76
+
"""Remove email from allowlist # noqa: E501
77
+
78
+
Removes an email address from the allowlist. # noqa: E501
Removes an email address from the allowlist. # noqa: E501
87
+
"""
88
+
89
+
all_params= ['body'] # noqa: E501
90
+
91
+
params=locals()
92
+
forkey, valinsix.iteritems(params['kwargs']):
93
+
ifkeynotinall_params:
94
+
raiseTypeError(
95
+
"Got an unexpected keyword argument '%s'"
96
+
" to method delete"%key
97
+
)
98
+
params[key] =val
99
+
delparams['kwargs']
100
+
101
+
# add api_key to body params
102
+
params['body']['key'] =self.api_key
103
+
104
+
body_params=None
105
+
if'body'inparams:
106
+
body_params=params['body']
107
+
108
+
returnself.api_client.call_api(
109
+
'/allowlists/delete', 'POST',
110
+
body=body_params,
111
+
response_type='InlineResponse2002') # noqa: E501
112
+
113
+
deflist(self, body= {}, **kwargs): # noqa: E501
114
+
"""List allowlisted emails # noqa: E501
115
+
116
+
Retrieves your email rejection allowlist. You can provide an email address or search prefix to limit the results. Returns up to 1000 results. # noqa: E501
Retrieves your email rejection allowlist. You can provide an email address or search prefix to limit the results. Returns up to 1000 results. # noqa: E501
Begins an export of your rejection allowlist. The allowlist will be exported to a zip archive containing a single file named allowlist.csv that includes the following fields: email, detail, created_at. # noqa: E501
Begins an export of your rejection allowlist. The allowlist will be exported to a zip archive containing a single file named allowlist.csv that includes the following fields: email, detail, created_at. # noqa: E501
Begins an export of your rejection allowlist. The allowlist will be exported to a zip archive containing a single file named whitelist.csv that includes the following fields: email, detail, created_at. # noqa: E501
230
+
Begins an export of your rejection allowlist. The allowlist will be exported to a zip archive containing a single file named allowlist.csv that includes the following fields: email, detail, created_at. # noqa: E501
Begins an export of your rejection allowlist. The allowlist will be exported to a zip archive containing a single file named whitelist.csv that includes the following fields: email, detail, created_at. # noqa: E501
238
+
Begins an export of your rejection allowlist. The allowlist will be exported to a zip archive containing a single file named allowlist.csv that includes the following fields: email, detail, created_at. # noqa: E501
0 commit comments