Delete identity
delete/v1/senderIdentities/deleteDeletes the existing sender identity by using the email address. Once it is deleted, it cannot be retrieved.
Code snippet
curl -X 'DELETE' \ 'https://api.boldsign.com/v1/senderIdentities/delete?email=luthercooper%40cubeflakes.com' \ -H 'accept: */*' \ -H 'X-API-KEY: {your API key}'
var apiClient = new ApiClient("https://api.boldsign.com", "Your API-KEY"); var senderIdentityClient = new SenderIdentityClient(apiClient); senderIdentityClient.DeleteSenderIdentity("luthercooper@cubeflakes.com");
import boldsign configuration = boldsign.Configuration(api_key="YOUR_API_KEY") with boldsign.ApiClient(configuration) as api_client: sender_identities_api = boldsign.SenderIdentitiesApi(api_client) sender_identities_api.delete_sender_identities(email="luthercooper@cubeflakes.com")
<?php require_once "vendor/autoload.php"; $config = new BoldSign\Configuration(); $config->setApiKey('YOUR_API_KEY'); $sender_identities_api = new BoldSign\Api\SenderIdentitiesApi($config); $sender_identities_api->deleteSenderIdentities($email='luthercooper@cubeflakes.com');
ApiClient client = Configuration.getDefaultApiClient(); client.setApiKey("YOUR_API_KEY"); SenderIdentitiesApi senderIdentitiesApi = new SenderIdentitiesApi(client); senderIdentitiesApi.deleteSenderIdentities("luthercooper@cubeflakes.com");
import { SenderIdentitiesApi } from "@boldsign/node-sdk"; const senderIdentitiesApi = new SenderIdentitiesApi(); senderIdentitiesApi.setApiKey("YOUR_API_KEY"); senderIdentitiesApi.deleteSenderIdentities("luthercooper@cubeflakes.com");
Query parameters
emailStringRequired | Email address of the sender identity. |
Example response
204 No content