UNPKG

boldsign

Version:

NodeJS client for boldsign

15 lines (13 loc) 520 B
import { SenderIdentitiesApi } from '../api/senderIdentitiesApi'; const senderIdentitiesApi = new SenderIdentitiesApi(); senderIdentitiesApi.setApiKey("YOUR_API_KEY"); var email = "luthercooper@cubeflakes.com"; async function deleteSenderIdentity() { try { await senderIdentitiesApi.deleteSenderIdentities(email); console.log("Sender identity deleted successfully!"); } catch (error:any) { console.error("Error occurred while calling the API:", error.message); } } deleteSenderIdentity();