Delete Contact (Deprecated)
DELETEhttps://api.cleverhub.co/api/v2/contacts/delete
deprecated
This endpoint has been deprecated and may be replaced or removed in future versions of the API.
This API allows you to delete contact. You can use the email
to delete.
Request
Query Parameters
email stringrequired
Contact email. Please ensure that the email is correct before sending.
Example: test@helloclever.co
Responses
- 200
- 400
- 401
- 422
OK
- application/json
- Schema
- Example (auto)
Schema
statusstringrequired
The status to confirm action it.
{
"status": "Ok"
}
Bad Request
- application/json
- Schema
- Example (auto)
- Example
Schema
errors object
{
"errors": {
"code": "string",
"message": "string"
}
}
{
"errors": {
"code": "BAD_REQUEST",
"message": "Invalid."
}
}
Unauthorized
- application/json
- Schema
- Example (auto)
- Example
Schema
errors object
{
"errors": {
"code": "string",
"message": "string"
}
}
{
"errors": {
"code": "REQUIRE_LOGIN",
"message": "Not Authorized"
}
}
Unprocessable Entity
- application/json
- Schema
- Example (auto)
- Example
Schema
errors object
{
"errors": {
"message": "string"
}
}
{
"errors": {
"message": "Email can't be blank"
}
}
Authorization: app-id
name: app-idtype: apiKeydescription: The app-id is registered and secured inside Hello Clever system and only required when client has initiated or in the middle of the transaction.in: header
name: secret-keytype: apiKeydescription: The secret-key is our client's secret of the source. Required if a publishable key is used to retrieve the source.in: header
- csharp
- curl
- dart
- go
- http
- java
- javascript
- kotlin
- c
- nodejs
- objective-c
- ocaml
- php
- powershell
- python
- r
- ruby
- rust
- shell
- swift
- HTTPCLIENT
- RESTSHARP
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Delete, "https://api.cleverhub.co/api/v2/contacts/delete");
request.Headers.Add("Accept", "application/json");
request.Headers.Add("app-id", "<app-id>");
request.Headers.Add("secret-key", "<app-id>");
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());
ResponseClear