Delete Contact

delete/v1-beta/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-beta/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 requests
url = "https://api.boldsign.com/v1-beta/contacts/delete?id=1b18b34d-aaae-4df8-aa8f-a93cda34379ac_pgVgo"
payload={}
headers = {
  'accept': '*/*',
  'X-API-KEY': '<API-KEY>'
}

response = requests.request("DELETE", url, headers=headers, data=payload)
print(response.text)
const axios = require('axios'); 
const response = await axios.delete('https://api.boldsign.com/v1-beta/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-beta/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