Delete Contact

delete/v1/contacts/delete

Deletes a contact from your account based on the contact id you have provided.

Code snippet

curl -X 'DELETE' \
  'https://api.boldsign.com/v1/contacts/delete?id=1b18b34d-aaae-4df8-aa8f-a93cda34379ac_pgVgo' \
  -H 'accept: */*' \
  -H 'X-API-KEY: {your API key}'
var apiClient = new ApiClient("https://api.boldsign.com", "API-KEY");

var contactClient = new ContactClient(apiClient);

contactClient.DeleteContact("1b18b34d-aaae-4df8-aa8f-a93cda34379ac_pgVgo");
import boldsign

configuration = boldsign.Configuration(
    api_key = "YOUR_API_KEY"
)

with boldsign.ApiClient(configuration) as api_client:   

    contacts_api = boldsign.ContactsApi(api_client)

    delete_contact_response = contacts_api.delete_contacts(
        id="YOUR_CONTACT_ID"
    )
const axios = require('axios'); 
const response = await axios.delete('https://api.boldsign.com/v1/contacts/delete', { 
    params: { 
        'id': '{Paste your contact ID}' 
    }, 

    headers: { 
        'accept': '*/*', 
        'X-API-KEY': '<API-KEY>' 
    } 
}); 
<?php
require_once "vendor/autoload.php";
use GuzzleHttp\Client;
use GuzzleHttp\Psr7\Request;

$client = new Client();

$headers = [
  'accept' => '*/*',
  'X-API-KEY' => '{your API key}'
];
$request = new Request('DELETE', 'https://api.boldsign.com/v1/contacts/delete?id=1b18b34d-aaae-4df8-aa8f-a93cda34379ac_pgVgo', $headers);
$res = $client->sendAsync($request)->wait();
echo $res->getBody();

Query parameters

idstringRequiredThe ID of the contact to delete.

Example response

204 No Content