Skip to main content
POST
/
customers
/
api
/
identity
/
revoke
curl -X POST "https://api.trusset.org/customers/api/identity/revoke" \
  -H "Content-Type: application/json" \
  -H "X-API-Key: trusset_abc123xy_secret..." \
  -d '{ "walletAddress": "0xAbC123dEf456789012345678901234567890AbCd" }'
{
  "success": true,
  "data": {
    "walletAddress": "0xAbC123dEf456789012345678901234567890AbCd",
    "status": "revoked",
    "txHash": "0xabc123def456789012345678901234567890abc123def456789012345678901234",
    "gasUsed": "42150"
  },
  "metadata": {
    "requestId": "550e8400-e29b-41d4-a716-446655440000",
    "timestamp": "2025-06-15T12:00:00.000Z"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.trusset.org/llms.txt

Use this file to discover all available pages before exploring further.

Revokes a previously verified identity on-chain and updates the off-chain customer record to revoked status. Use this when a customer fails ongoing compliance checks or when their verification must be invalidated.

Request Body

walletAddress
string
required
Ethereum wallet address to revoke.

Response Fields

success
boolean
Request status
data
object
curl -X POST "https://api.trusset.org/customers/api/identity/revoke" \
  -H "Content-Type: application/json" \
  -H "X-API-Key: trusset_abc123xy_secret..." \
  -d '{ "walletAddress": "0xAbC123dEf456789012345678901234567890AbCd" }'
{
  "success": true,
  "data": {
    "walletAddress": "0xAbC123dEf456789012345678901234567890AbCd",
    "status": "revoked",
    "txHash": "0xabc123def456789012345678901234567890abc123def456789012345678901234",
    "gasUsed": "42150"
  },
  "metadata": {
    "requestId": "550e8400-e29b-41d4-a716-446655440000",
    "timestamp": "2025-06-15T12:00:00.000Z"
  }
}