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
[**create_folder**](ContactsApi.md#create_folder) | **POST** /contacts/folders | Create a folder
11
11
[**create_list**](ContactsApi.md#create_list) | **POST** /contacts/lists | Create a list
12
12
[**delete_attribute**](ContactsApi.md#delete_attribute) | **DELETE** /contacts/attributes/{attributeCategory}/{attributeName} | Deletes an attribute
13
+
[**delete_contact**](ContactsApi.md#delete_contact) | **DELETE** /contacts/{email} | Deletes a contact
13
14
[**delete_folder**](ContactsApi.md#delete_folder) | **DELETE** /contacts/folders/{folderId} | Delete a folder (and all its lists)
14
15
[**delete_list**](ContactsApi.md#delete_list) | **DELETE** /contacts/lists/{listId} | Delete a list
15
16
[**get_attributes**](ContactsApi.md#get_attributes) | **GET** /contacts/attributes | Lists all attributes
@@ -349,6 +350,57 @@ void (empty response body)
349
350
350
351
[[Back to top]](#)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to Model list]](../README.md#documentation-for-models)[[Back to README]](../README.md)
351
352
353
+
# **delete_contact**
354
+
> delete_contact(email)
355
+
356
+
Deletes a contact
357
+
358
+
### Example
359
+
```python
360
+
from__future__import print_function
361
+
import time
362
+
import sib_api_v3_sdk
363
+
from sib_api_v3_sdk.rest import ApiException
364
+
from pprint import pprint
365
+
366
+
# Configure API key authorization: api-key
367
+
configuration = sib_api_v3_sdk.Configuration()
368
+
configuration.api_key['api-key'] ='YOUR_API_KEY'
369
+
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
**email** | **str**| Email (urlencoded) of the contact |
388
+
389
+
### Return type
390
+
391
+
void (empty response body)
392
+
393
+
### Authorization
394
+
395
+
[api-key](../README.md#api-key)
396
+
397
+
### HTTP request headers
398
+
399
+
-**Content-Type**: application/json
400
+
-**Accept**: application/json
401
+
402
+
[[Back to top]](#)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to Model list]](../README.md#documentation-for-models)[[Back to README]](../README.md)
**type** | **str** | Displays the plan type of the user |
7
-
**credits_type** | **str** | This is the type of the credit, \"User Limit\" or \"Send Limit\" are two possible types of credit of a user. \"User Limit\" implies the total number of subscribers you can add to your account, and \"Send Limit\" implies the total number of emails you can send to the subscribers in your account. |
8
-
**credits** | **float** | Remaining credits of the user. This can either be \"User Limit\" or \"Send Limit\" depending on the plan. |
9
-
**start_date** | **date** | Date of the period from which the plan will start (only available for \"subscription\", \"unlimited\" and \"reseller\" plan type) | [optional]
10
-
**end_date** | **date** | Date of the period from which the plan will end (only available for \"subscription\", \"unlimited\" and \"reseller\" plan type) | [optional]
7
+
**credits_type** | **str** | This is the type of the credit, \"Send Limit\" is one of the possible types of credit of a user. \"Send Limit\" implies the total number of emails you can send to the subscribers in your account. |
8
+
**credits** | **float** | Remaining credits of the user |
9
+
**start_date** | **date** | Date of the period from which the plan will start (only available for \"subscription\" and \"reseller\" plan type) | [optional]
10
+
**end_date** | **date** | Date of the period from which the plan will end (only available for \"subscription\" and \"reseller\" plan type) | [optional]
11
+
**user_limit** | **int** | Only in case of reseller account. It implies the total number of child accounts you can add to your account. | [optional]
11
12
12
13
[[Back to Model list]](../README.md#documentation-for-models)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to README]](../README.md)
"Invalid value for `type` ({0}), must be one of {1}"# noqa: E501
@@ -99,7 +104,7 @@ def type(self, type):
99
104
defcredits_type(self):
100
105
"""Gets the credits_type of this GetAccountPlan. # noqa: E501
101
106
102
-
This is the type of the credit, \"User Limit\"or \"Send Limit\" are two possible types of credit of a user.\"User Limit\" implies the total number of subscribers you can add to your account, and\"Send Limit\" implies the total number of emails you can send to the subscribers in your account. # noqa: E501
107
+
This is the type of the credit, \"Send Limit\"is one of the possible types of credit of a user. \"Send Limit\" implies the total number of emails you can send to the subscribers in your account. # noqa: E501
103
108
104
109
:return: The credits_type of this GetAccountPlan. # noqa: E501
105
110
:rtype: str
@@ -110,14 +115,14 @@ def credits_type(self):
110
115
defcredits_type(self, credits_type):
111
116
"""Sets the credits_type of this GetAccountPlan.
112
117
113
-
This is the type of the credit, \"User Limit\"or \"Send Limit\" are two possible types of credit of a user.\"User Limit\" implies the total number of subscribers you can add to your account, and\"Send Limit\" implies the total number of emails you can send to the subscribers in your account. # noqa: E501
118
+
This is the type of the credit, \"Send Limit\"is one of the possible types of credit of a user. \"Send Limit\" implies the total number of emails you can send to the subscribers in your account. # noqa: E501
114
119
115
120
:param credits_type: The credits_type of this GetAccountPlan. # noqa: E501
116
121
:type: str
117
122
"""
118
123
ifcredits_typeisNone:
119
124
raiseValueError("Invalid value for `credits_type`, must not be `None`") # noqa: E501
0 commit comments