Digital Identity
  • Introduction
  • Quick Start
  • Reference
    • API Reference
      • Register
      • User Profile
      • Verify
      • CancelVerifiedDigitalIdentity
      • Get Verify Data
      • Login
      • Admin Login
      • Check Eligibility
      • Current
      • Get All Product Types
      • Get Business Request Type Template Fields
      • User Create Request
      • User Activate Request
      • ⚙️ Admin Control Panel
        • Login API
        • GetRequests API
        • GetContractToPdf
        • GetUsers
        • GetTransactionById API
        • CancelVerifiedDigitalIdentity
      • Error Codes
Powered by GitBook
On this page
  1. Reference
  2. API Reference

CancelVerifiedDigitalIdentity

PreviousVerifyNextGet Verify Data

Last updated 8 months ago

Base Endpoint:

POST https://api.vlenseg.com/api/DigitalIdentity/CancelVerifiedDigitalIdentity

Overview:

This endpoint allows a customer to cancel their verified digital identity. It does not require any parameters in the body.

Headers:

  • ApiKey (required): The API key for authenticating the request.

  • TenancyName (required): The tenancy name that identifies the tenant.

  • Authorization (required): Bearer token for customer authentication, obtained from the Login API.

  • Content-Type: application/json.

Body:

The body of the request is empty.

const axios = require('axios');

axios.post('https://api.vlenseg.com/api/DigitalIdentity/CancelVerifiedDigitalIdentity', {}, {
  headers: {
    'ApiKey': 'YOUR_API_KEY',
    'TenancyName': 'YOUR_TENANCY_NAME',
    'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
    'Content-Type': 'application/json'
  }
})
.then((response) => {
  console.log(response.data);
})
.catch((error) => {
  console.error('Error:', error.response ? error.response.data : error.message);
});
import requests

url = "https://api.vlenseg.com/api/DigitalIdentity/CancelVerifiedDigitalIdentity"

headers = {
    'ApiKey': 'YOUR_API_KEY',
    'TenancyName': 'YOUR_TENANCY_NAME',
    'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
    'Content-Type': 'application/json'
}

response = requests.post(url, json={}, headers=headers)

if response.status_code == 200:
    print("Response:", response.json())
else:
    print(f"Error: {response.status_code}", response.text)
curl -X POST 'https://api.vlenseg.com/api/DigitalIdentity/CancelVerifiedDigitalIdentity' \
-H 'ApiKey: YOUR_API_KEY' \
-H 'TenancyName: YOUR_TENANCY_NAME' \
-H 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
-H 'Content-Type: application/json' \
-d '{}'

Cancel a verified digital identity for the customer

post
Authorizations
Body
objectOptional

Empty request body

Responses
200
Digital identity canceled successfully
application/json
400
Invalid request, missing or invalid parameters
401
Unauthorized, API key or token is missing/invalid
500
Internal server error
post
POST /api/DigitalIdentity/CancelVerifiedDigitalIdentity HTTP/1.1
Host: api.vlenseg.com
ApiKey: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 2

{}
{
  "data": true,
  "error_code": null,
  "error_message": null
}